stop_order
Trigger a market or limit order automatically when a stock reaches a given stop price, enabling stop-loss or stop-entry trades.
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 |