The Setup Auto Trade Route page has a drop-down menu for Port Load Policies with the following options:
1. Buy only from Market-Never empty Warehouse
2. Unload Warehouse when Market is empty
3. Unload from Warehouse-Then buy from Market
My suggestion is to add a fourth option: Unload from warehouse- Never buy from Market
I believe this option would come in very useful for certain traders.