Positions, orders and trade history
Trade records show the positions, orders, and financial activity a connected account has reported. Use trade events to see how those records changed, including activity initiated directly on the trading platform. To follow an action requested through Tradesync, see Trading commands and outcomes.
Positions, orders, and account adjustments
| Record | Meaning |
|---|---|
| Buy or sell position | Market exposure reported by the account |
| Pending order | An instruction waiting for its execution conditions |
| Account adjustment | A financial entry such as a deposit, credit, or charge, according to the platform's reported type |
Open and closed are record states. A closed record is not necessarily a closed market position: account adjustments and completed or cancelled orders also form part of the account's history.
Supported order types depend on the trading platform and instrument. A shared type name does not make that operation available on every connection.
Current records and events
The trade record holds the current reported state. Trade events record changes such as opening, filling an order, modifying stops, partially closing, or closing.
An order filling changes it into a market position. A partial close reduces the remaining volume without necessarily ending the position. In the MetaTrader 4 partial-close path, the platform ticket can change while the Tradesync trade ID is retained.
Tradesync IDs identify Tradesync records. Platform order or position identifiers belong to the connected platform. Keep those identifiers separate when following the same trade through its events. See Execution and events for copied-trade linkage.
Profit and volume
Volume is expressed in lots in Tradesync's common representation. The connection translates platform-native units; the instrument's contract size determines the quantity represented by one lot.
Trade profit, commission, and swap are separate values. The closed-position analysis combines them when calculating a trade's result. A trade event can describe only one change, so its values should not automatically be treated as a complete lifetime summary of the position.
For calculated results, see Understanding account analysis. Use the Trades API to retrieve trade records and the Trade Events API to see the changes reported by the account.