Places a buy-side or sell-side order. We currently support cash-based buy orders and unit-based sell orders only.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the instrument to buy or sell.
The order type. Only market orders are supported currently.
"market"The order side, buy or sell.
buy, sell Required for buy orders. The amount to invest (before fees). Buy orders are cash-based (you specify how much to invest, not how many units to buy).
"100.00"
Required for sell orders. The number of units to sell. Sell orders are unit-based (you specify how many units to sell, not how much cash to receive).
If true, the resulting position will be set to automatically rollover to a similar instrument upon maturity. Only applicable to buy orders on instruments with supports_automatic_rollover set to true.
Created
Unique resource identifier.
The order status.
placed, pending, executing, filled, settled, cancelled The order type (e.g. market, limit).
"market"The order purpose, set by us.
user_request, rollover, square_off, backfill Buy or sell.
buy, sell The instrument to buy or sell.
The sum of unit quantities of all order executions so far.
The sum of notional values of all order executions so far.
The total fees for this order.
All trades executed to fill this order.
The ID of the parent account. Orders placed by users always have a parent account. Orders placed by the system (e.g. for internal operations) do not.
The ID of the position this order is part of, if applicable. Note that the position is null before the order is executed.
The amount to invest (before fees). Buy orders are cash-based (you specify how much to invest, not how many units to buy).
The amount to invest after fees. This is what gets traded.
The number of units to sell. Sell orders are unit-based (you specify how many units to sell, not how much cash to receive).
The order currency. For securities orders, this is the trading currency of the instrument. For FX orders, this is the base currency.
EUR, USD, GBP The customer's request for automatic rollover. Only has a value for buy orders in relevant instruments.
The reason for cancelling the order, if cancelled.