place_order
Submit real limit or market orders to buy or sell on a market. Supports reduce-only and time in force options.
Instructions
Place an order on a market. Supports limit and market orders, buy/sell. For limit orders a price is required. Requires API credentials. This submits a REAL order to the matching engine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market_id | Yes | Market id, e.g. "BTC-USDX-PERP". | |
| side | Yes | Order side. | |
| type | Yes | Order type. | |
| size | Yes | Order quantity in base units, as a string. | |
| price | No | Limit price as a string. Required for limit orders, ignored for market. | |
| time_in_force | No | Time in force. Defaults to GTC for limit, IOC for market. | |
| reduce_only | No | If true, only reduces an existing position. |