place_order
Execute a live buy or sell order for stocks, options, or crypto using market, limit, stop, or stop-limit order types with quantity or dollar amount.
Instructions
Place a single-leg order (buy/sell stocks, crypto, or options).
⚠️ This executes a real trade. Consider running preflight_order first.
Args: symbol: Ticker symbol (e.g. "AAPL"). instrument_type: EQUITY, OPTION, or CRYPTO. order_side: BUY or SELL. order_type: MARKET, LIMIT, STOP, or STOP_LIMIT. time_in_force: DAY or GTD. Default is DAY. quantity: Number of shares/contracts (mutually exclusive with amount). amount: Dollar amount (mutually exclusive with quantity). limit_price: Required for LIMIT and STOP_LIMIT orders. stop_price: Required for STOP and STOP_LIMIT orders. open_close_indicator: For options only — OPEN or CLOSE. expiration_time: Required when time_in_force is GTD. ISO 8601 format. equity_market_session: CORE or EXTENDED. For equity orders only. account_id: Account ID. Optional if PUBLIC_COM_ACCOUNT_ID is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| instrument_type | Yes | ||
| order_side | Yes | ||
| order_type | Yes | ||
| time_in_force | No | DAY | |
| quantity | No | ||
| amount | No | ||
| limit_price | No | ||
| stop_price | No | ||
| open_close_indicator | No | ||
| expiration_time | No | ||
| equity_market_session | No | ||
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |