create_order
Place real stock orders (BUY/SELL) with market or limit types. Guardrails reject invalid orders and request confirmation for high-risk trades.
Instructions
PLACES A REAL ORDER with real money. Subject to backend guardrails: Tier-1 caps (notional, price deviation) reject unconditionally; Tier-2 (full liquidation, high-value) returns a preview unless confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | BUY or SELL | |
| price | No | Limit price; required for LIMIT | |
| symbol | Yes | Stock symbol (KRX 6-digit or US ticker) | |
| confirm | No | Set true to confirm a high-risk (Tier-2) order | |
| quantity | No | Quantity (integer string); for quantity-based orders | |
| account_id | No | Account number; falls back to TOSS_DEFAULT_ACCOUNT | |
| order_type | Yes | LIMIT or MARKET | |
| order_amount | No | Cash amount; for amount-based MARKET orders | |
| time_in_force | No | DAY or CLS | |
| client_order_id | No | Idempotency key (<=36 chars, [a-zA-Z0-9-_]) |