bracket_order
Place an entry order with automatic take-profit and stop-loss exits that cancel on fill.
Instructions
Place an entry order with attached take-profit and stop-loss exits (OCO).
The entry buys (or sells) quantity shares — market by default, or a limit if
entry_limit_price is set. Once it fills, two exits go live: a limit at
take_profit and a stop at stop_loss; when one fills the other is cancelled.
Returns one result per leg (labelled entry / take_profit / stop_loss in message).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | BUY | |
| symbol | Yes | ||
| quantity | Yes | ||
| stop_loss | Yes | ||
| take_profit | Yes | ||
| entry_limit_price | No |