pro_create_order
Create limit, market, or stop-limit orders in PRO Trading. Specify trading pair, side, amount, and optional price/stop price. Returns 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]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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) | |
| amount | Yes | Order amount in base currency (as string for decimal precision) | |
| price | No | Limit price in quote currency (required for limit/stop-limit orders) | |
| stop_price | No | Trigger price for stop-limit orders (order activates when market reaches this price) | |
| jwt | No | Optional session token for authentication. API keys are recommended for most use cases. |