Create Pending Order
Using this endpoint, you can open a Position for a specific Trading Account.
Header Parameters
Body Parameters
The unique identifier for the system where the account is located; required to specify where the position is to be opened.
The login identifier for the Trading Account on which the position is to be opened; required.
The trading instrument (symbol) for which the position is to be opened; required.
Specifies whether the position is a 'BUY' or 'SELL'; required.
BUYSELLThe amount of the instrument to be traded in the position (lots); required.
The price at which a stop-loss order is set to limit potential losses; optional.
The price at which a take-profit order is set to realize profits; optional.
The price at which a pending order becomes active and is triggered.
Specifies the type of order: "STOP" for an order that is executed immediately at the current market price, or "LIMIT" for a pending order that is filled only when the price reaches a specified level.
LIMITSTOPResponse
Response Attributes
The outcome of the request to open a position
OKREJECTEDPARTIAL_SUCCESSA unique identifier for the order associated with the opened position