Trade vs. Order in TWS

Find out how the management of trades and orders in TWS differs from their management in MetaTrader.


In Metatrader when you want to trade an asset, you can do so either by opening a new trade or by closing an existing open trade.

This means that you can accumulate different open trades on the same asset, even in the opposite direction, one long and one short.

Metatrader calculates the profits and losses of each trade in real-time individually.

On the other hand, you can close trades in any order you want, regardless of the opening date.


TWS allows you to place orders long or short but not associated with a previously opened trade since each order is independent of the others.

If an order is placed in the opposite direction to the open exposure on an asset, the exposure is automatically reduced and closed trades are generated, closing the oldest orders first until the volume of the opposite order is reached (FIFO criteria).

For open exposure, there is a single profit or loss value per asset that is obtained by calculating the average price of the exposure that remains open and the current price of the underlying.