Your tokens don't leave your wallet when you submit an order. If you move your tokens before an order is taken, it simply won't be traded. If you repeatedly submit certain orders and the total amount exceeds your wallet balance, this will only cause some orders to not be executed.
Inteligent Rate Detection
The interface is able to detect the current market rate between two given tokens in a smart way even for those that are barely related.