Place a bracket order
Place a bracket order
Authorizations
Bearer token used for protected REST API requests.
Body
Bracket-order creation payload. takeProfitPrice and stopLossPrice are optional but at least one should be supplied for a useful bracket order.
Payload for creating a bracket order with optional take-profit and stop-loss legs.
Symbol to trade.
"FPT"
B for buy, S for sell.
B, S Entry trigger price.
Entry trigger condition comparing market price to conditionPrice.
>=, <= Entry order type sent after the trigger.
LO, MTL Entry order quantity.
Trading account used for the bracket order.
Optional take-profit target price.
Optional stop-loss price.
Response
Bracket-order creation result.
Bracket-order creation response.
Whether the bracket order was validated, persisted, created with its entry stop order, and published as a NEW event.
Result message. On success this is usually "Bracket order placed successfully".
System bracket order id generated by service.orderapi. Use this id to get or cancel the bracket order. Child ids such as entryStopOrderId, takeProfitOrderId, and stopLossOrderId are available on the BracketOrder object returned by the get bracket order API.
^BRACKET-"BRACKET-V1StGXR8_Z5jdHi6B-myT"

