Create order
Create an order for a specific account.
The user must complete derivatives onboarding before placing orders.
Stop-loss and take-profit orders are standalone orders and are not linked to a position or to each other. They can remain active after a position closes and may open a new position if triggered. Cancel any remaining orders when they are no longer needed.
A successful response confirms that the order was created, not that it has been filled or will stay open. The order can still be canceled afterward, for example if the account does not have enough funds. Use Get order to check its status.
If the request times out or the connection is interrupted before you receive a response, the order may still have been created. Check List orders for both open and closed orders before submitting another request. Resubmitting can create a duplicate order.
Authorizations
Path Parameters
Body
- Market order
- Limit order
- Stop-loss order
- Take-profit order
Parameters for an order in the selected asset type.
Available for the International/EEA offering.
Optional partner-provided reference for tracking the order. Use a lowercase, hyphenated UUID.
Two active orders or pending triggers in the same account cannot use the same ID. Reusing an ID that is still in use returns 409.
Once the original order or trigger is no longer active, the ID can be reused. A retry with that ID can then create another order. This is not an idempotency key.
"550e8400-e29b-41d4-a716-446655440000"
Available only for the International/EEA offering.
Whether execution is restricted to reducing an existing position. When enabled, the order cannot open or increase a position.
An order larger than the open position may be accepted with a reduced quantity. The excess quantity will not execute or open a position in the opposite direction.
true