pro_create_order
Create limit, market, or stop-limit orders on Bit2Me PRO Trading. Preview the order first, then confirm execution to get the order ID.
Instructions
Create Limit/Market/Stop order in PRO Trading. Returns order ID. For Limit orders, 'price' is required. For Stop-Limit orders, both 'price' and 'stop_price' are required. Market orders execute immediately at current price. Use pro_get_open_orders to check order status. Order status ENUM: open (order is active and waiting to be filled), filled (order was completely executed), cancelled (order was cancelled or expired). [PRIVATE] First call without confirm=true returns a preview; set confirm=true only after the user agrees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jwt | No | Optional session token for authentication. API keys are recommended for most use cases. | |
| pair | Yes | Trading pair in BASE-QUOTE format (e.g., BTC-USD, ETH-EUR) | |
| side | Yes | Order direction: buy (purchase base currency) or sell (dispose base currency) | |
| type | Yes | Order type: limit (at specified price), market (immediate at best price), stop-limit (triggers at stop price) | |
| price | No | Limit price in quote currency (required for limit/stop-limit orders) | |
| amount | Yes | Order amount in base currency (as string for decimal precision) | |
| confirm | No | Must be true to execute. Ask the user first, then call again with confirm=true. Prevents accidental one-shot mutations by the LLM. | |
| stop_price | No | Trigger price for stop-limit orders (order activates when market reaches this price) | |
| idempotency_key | No | Stable key for this logical action (UUID recommended). Reuse the same value when retrying after a timeout so Bit2Me does not execute twice. Auto-generated if omitted. |