stop_order
Place a stop order that triggers a market order once the stop price is hit. Supports stop-loss and stop-entry with optional limit price for stop-limit orders.
Instructions
Place a STOP order (e.g. a stop-loss). Triggers a market order when stop_price is hit.
side is "BUY" or "SELL" (a stop-loss on a long position is a SELL). Pass
limit_price to make it a STOP-LIMIT (becomes a limit order on trigger instead
of a market order). Sized by quantity (shares).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| symbol | Yes | ||
| quantity | Yes | ||
| stop_price | Yes | ||
| limit_price | No |