Create order
Creates a new order and sends to our internal systems for execution. Note that a successful call to this endpoint does not necessarily mean your order has been accepted, e.g. a downstream venue might reject your order. You should therefore utilize our WebSocket APIs to listen for changes in order lifecycle events.
Path parameters
Account ID for the account.
Request body
Example request
{
"reference_id": "my-order-id-123",
"quantity": "100",
"price": "123.99",
"stop_price": "123.99",
"symbol": "AAPL",
"strategy": {
"min_percent": 1,
"max_percent": 35
}
}Response
Order received. Indicates the the order was received and is pending further processing.
Example response
{
"order_id": "234usdfa3"
}Changes
Changed in 10 of the 22 revisions of this API.28930
- ▲
request property
open_close_indicatorwas restricted to a list of enum valuesrequest-property-became-enum
- ▲
the
open_close_indicatorrequest property type/format changed from/tostring/request-property-type-changed
- ○
added the new
closeenum value to the request propertyopen_close_indicatorrequest-property-enum-value-added
- ○
added the new
openenum value to the request propertyopen_close_indicatorrequest-property-enum-value-added
- ▲
- ▲
removed the enum value
closeof the request propertyopen_close_indicatorrequest-property-enum-value-removed
- ▲
removed the enum value
openof the request propertyopen_close_indicatorrequest-property-enum-value-removed
- ▲
the
open_close_indicatorrequest property type/format changed fromstring/to/request-property-type-changed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional request property
open_close_indicatornew-optional-request-property
- ○
- ○
added the new
apenum value to the request propertystrategy/anyOf[DmaStrategy]/typerequest-property-enum-value-added
- ○
added the new
darkenum value to the request propertystrategy/anyOf[DmaStrategy]/typerequest-property-enum-value-added
- ○
added the new
povenum value to the request propertystrategy/anyOf[DmaStrategy]/typerequest-property-enum-value-added
- ○
added the new
sorenum value to the request propertystrategy/anyOf[DmaStrategy]/typerequest-property-enum-value-added
- ○
added the new
twapenum value to the request propertystrategy/anyOf[DmaStrategy]/typerequest-property-enum-value-added
- ○
added the new
vwapenum value to the request propertystrategy/anyOf[DmaStrategy]/typerequest-property-enum-value-added
- ○
- ▲
removed
SorStrategyVwapStrategyTwapStrategyApStrategyPovStrategyDarkStrategyDmaStrategyfrom thestrategyrequest propertyoneOflistrequest-property-one-of-removed
- ○
added
SorStrategyVwapStrategyTwapStrategyApStrategyPovStrategyDarkStrategyDmaStrategyto thestrategyrequest propertyanyOflistrequest-property-any-of-added
- ▲
- ▲
added
subschema #2to thestrategy/oneOf[ApStrategy]/request propertyallOflistrequest-property-all-of-added
- ▲
added
subschema #2to thestrategy/oneOf[DarkStrategy]/request propertyallOflistrequest-property-all-of-added
- ▲
added
subschema #2to thestrategy/oneOf[PovStrategy]/request propertyallOflistrequest-property-all-of-added
- ▲
added
subschema #2to thestrategy/oneOf[TwapStrategy]/request propertyallOflistrequest-property-all-of-added
- ▲
added
subschema #2to thestrategy/oneOf[VwapStrategy]/request propertyallOflistrequest-property-all-of-added
- ▲
removed the enum value
apof the request propertystrategy/oneOf[DmaStrategy]/typerequest-property-enum-value-removed
- ▲
removed the enum value
darkof the request propertystrategy/oneOf[DmaStrategy]/typerequest-property-enum-value-removed
- ▲
removed the enum value
povof the request propertystrategy/oneOf[DmaStrategy]/typerequest-property-enum-value-removed
- ▲
removed the enum value
sorof the request propertystrategy/oneOf[DmaStrategy]/typerequest-property-enum-value-removed
- ▲
removed the enum value
twapof the request propertystrategy/oneOf[DmaStrategy]/typerequest-property-enum-value-removed
- ▲
removed the enum value
vwapof the request propertystrategy/oneOf[DmaStrategy]/typerequest-property-enum-value-removed
- ●
removed the request property
strategy/oneOf[ApStrategy]/max_percentrequest-property-removed
- ●
removed the request property
strategy/oneOf[ApStrategy]/min_percentrequest-property-removed
- ●
removed the request property
strategy/oneOf[DarkStrategy]/max_percentrequest-property-removed
- ●
removed the request property
strategy/oneOf[PovStrategy]/target_percentrequest-property-removed
- ●
removed the request property
strategy/oneOf[TwapStrategy]/max_percentrequest-property-removed
- ●
removed the request property
strategy/oneOf[TwapStrategy]/min_percentrequest-property-removed
- ●
removed the request property
strategy/oneOf[VwapStrategy]/max_percentrequest-property-removed
- ●
removed the request property
strategy/oneOf[VwapStrategy]/min_percentrequest-property-removed
- ▲
- ▲
removed the enum value
gotcof the request propertystrategy/oneOf[DmaStrategy]/destinationrequest-property-enum-value-removed
- ▲
removed the enum value
xchiof the request propertystrategy/oneOf[DmaStrategy]/destinationrequest-property-enum-value-removed
- ▲
removed the enum value
xphlof the request propertystrategy/oneOf[DmaStrategy]/destinationrequest-property-enum-value-removed
- ▲
- ○
added
dmadiscriminator mapping keys to thestrategyrequest propertyrequest-property-discriminator-mapping-added
- ○
added the new
dmaenum value to the request propertystrategy/oneOf[ApStrategy]/allOf[BaseStrategy]/typerequest-property-enum-value-added
- ○
added the new
dmaenum value to the request propertystrategy/oneOf[DarkStrategy]/allOf[BaseStrategy]/typerequest-property-enum-value-added
- ○
added the new
dmaenum value to the request propertystrategy/oneOf[PovStrategy]/allOf[BaseStrategy]/typerequest-property-enum-value-added
- ○
added the new
dmaenum value to the request propertystrategy/oneOf[SorStrategy]/allOf[BaseStrategy]/typerequest-property-enum-value-added
- ○
added the new
dmaenum value to the request propertystrategy/oneOf[TwapStrategy]/allOf[BaseStrategy]/typerequest-property-enum-value-added
- ○
added the new
dmaenum value to the request propertystrategy/oneOf[VwapStrategy]/allOf[BaseStrategy]/typerequest-property-enum-value-added
- ○
added the new
stop-limitenum value to the request propertyorder_typerequest-property-enum-value-added
- ○
added
DmaStrategyto thestrategyrequest propertyoneOflistrequest-property-one-of-added
- ○
- ▲
the
strategy/oneOf[ApStrategy]/max_percentrequest property type/format changed fromnumber/tointeger/request-property-type-changed
- ▲
the
strategy/oneOf[ApStrategy]/min_percentrequest property type/format changed fromnumber/tointeger/request-property-type-changed
- ▲
the
strategy/oneOf[DarkStrategy]/max_percentrequest property type/format changed fromnumber/tointeger/request-property-type-changed
- ▲
the
strategy/oneOf[PovStrategy]/target_percentrequest property type/format changed fromnumber/tointeger/request-property-type-changed
- ▲
the
strategy/oneOf[TwapStrategy]/max_percentrequest property type/format changed fromnumber/tointeger/request-property-type-changed
- ▲
the
strategy/oneOf[TwapStrategy]/min_percentrequest property type/format changed fromnumber/tointeger/request-property-type-changed
- ▲
the
strategy/oneOf[VwapStrategy]/max_percentrequest property type/format changed fromnumber/tointeger/request-property-type-changed
- ▲
the
strategy/oneOf[VwapStrategy]/min_percentrequest property type/format changed fromnumber/tointeger/request-property-type-changed
- ○
the
strategy/oneOf[ApStrategy]/max_percentrequest property's max was increased from1.00to100.00request-property-max-increased
- ○
the
strategy/oneOf[ApStrategy]/min_percentrequest property's max was increased from1.00to100.00request-property-max-increased
- ○
the
strategy/oneOf[DarkStrategy]/max_percentrequest property's max was increased from1.00to100.00request-property-max-increased
- ○
the
strategy/oneOf[PovStrategy]/target_percentrequest property's max was increased from1.00to100.00request-property-max-increased
- ○
the
strategy/oneOf[TwapStrategy]/max_percentrequest property's max was increased from0.50to50.00request-property-max-increased
- ○
the
strategy/oneOf[TwapStrategy]/min_percentrequest property's max was increased from1.00to100.00request-property-max-increased
- ○
the
strategy/oneOf[VwapStrategy]/max_percentrequest property's max was increased from1.00to50.00request-property-max-increased
- ○
the
strategy/oneOf[VwapStrategy]/min_percentrequest property's max was increased from1.00to100.00request-property-max-increased
- ▲
- ●
removed the request property
strategy_typerequest-property-removed
- ○
added the new optional request property
stop_pricenew-optional-request-property
- ○
added the new optional request property
strategynew-optional-request-property
- ○
added the new
stopenum value to the request propertyorder_typerequest-property-enum-value-added
- ●