Trading
Trading operations for orders and positions.
Place pending order
Creates a new pending order or sets SL/TP for a position with a new SLTP order. Order type may be:
Cancel all pending orders
Cancels pending orders for the selected account. Depending on filters, this may include SLTP orders.
Modify active order
Modifies active pending or SLTP order parameters.
Cancel pending or SLTP order
Cancels the selected pending or SLTP order.
Open position
Opens a new position using immediate market execution.
Close all positions
Closes open positions for the selected account.
Close position
Closes the selected open position.
Get snapshot
Returns the current trading state snapshot for the selected account.
Get operation status
Returns the current status of an asynchronous trading operation.
Get orders history
Returns historical closed orders for the selected account for up to 1 month.
Get deals history
Returns historical deals for the selected account for up to 1 month.