place_order
Submit limit or market buy/sell orders for options or perpetuals with automatic EIP-712 signing and receive an order ID and status; confirm fills afterward for IOC/FOK orders.
Instructions
Place an order. Handles EIP-712 signing automatically. Returns order_id and order status. IMPORTANT: For IOC/FOK orders, the order may already be filled or cancelled by the time you read the response. Use get_order(order_id) after placing to confirm fill status, filled_amount, and average_price. MARGIN RULES: Selling/shorting options requires margin. On Standard Margin (SM), short options are treated as NAKED — the full margin is required even if you hold a protective long leg. SM does NOT recognize spreads. Credit spreads (bull put, bear call) ONLY work on Portfolio Margin (PM/PM2). Before selling options: 1) check margin_type via get_subaccount, 2) simulate the sell leg ALONE via get_margin, 3) if SM, only sell options if you have enough margin for naked exposure. Buying options only requires the premium — no additional margin needed. INSTRUMENT CONSTRAINTS: Check minimum_amount and amount_step via get_instruments before placing. Common minimums: ETH options 0.1, BTC options 0.01, SOL options 0.1, HYPE options 1.
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": {
"instrument_name": "<instrument_name>",
"direction": "<direction>",
"amount": "<amount>",
"limit_price": "<limit_price>"
},
"name": "place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional label | |
| amount | Yes | Order amount (in contracts) | |
| max_fee | No | Maximum fee willing to pay (USDC) | 100 |
| direction | Yes | Order direction | |
| order_type | No | Order type | limit |
| limit_price | Yes | Limit price (in USD) | |
| reduce_only | No | Reduce-only order | |
| time_in_force | No | Time in force | gtc |
| instrument_name | Yes | Instrument (e.g., ETH-PERP, ETH-20260320-3000-C) |