Place Equity / ETF Order
place_equity_orderPlace or preview a stock/ETF order with built-in risk checks to validate trades before submitting them live.
Instructions
Place (or dry-run preview) a stock/ETF order with built-in risk checks.
Args: symbol: Equity or ETF ticker (e.g. 'AAPL', 'SPY'). instruction: 'BUY', 'SELL', 'SELL_SHORT', or 'BUY_TO_COVER'. quantity: Number of shares (> 0). order_type: 'MARKET', 'LIMIT', 'STOP', 'STOP_LIMIT', 'MARKET_ON_CLOSE', or 'LIMIT_ON_CLOSE'. price: Limit price (required for LIMIT, STOP_LIMIT, and LIMIT_ON_CLOSE). stop_price: Stop trigger price (required for STOP and STOP_LIMIT). duration: 'DAY', 'GOOD_TILL_CANCEL', 'FILL_OR_KILL', or 'IMMEDIATE_OR_CANCEL'. session: 'NORMAL', 'AM' (pre-market), 'PM' (after-hours), or 'SEAMLESS' (extended hours require LIMIT+DAY). account: Optional account number, last 4 digits, or hashValue. dry_run: Force dry-run/preview mode (note: global SCHWAB_DRY_RUN=true cannot be overridden). confirm_live: Must be True to submit a real order when SCHWAB_DRY_RUN=false.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>",
"instruction": "<instruction>",
"quantity": "<quantity>"
},
"name": "place_equity_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | ||
| symbol | Yes | ||
| account | No | ||
| dry_run | No | ||
| session | No | NORMAL | |
| duration | No | DAY | |
| quantity | Yes | ||
| order_type | No | LIMIT | |
| stop_price | No | ||
| instruction | Yes | ||
| confirm_live | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||