create_order
Place a GTC limit order on the Luno exchange. The order stays on the order book and can fill partially or not at all; use list_orders to monitor its status.
Instructions
Place a new GTC limit order on Luno. The order rests on the book and may fill partially, fully, or not at all; this tool does not wait for or report fills - use list_orders to inspect state, or cancel_order to withdraw a working order. Not idempotent: repeated calls create duplicate orders. Prefer get_markets_info first to validate the pair's tick size and minimum volume. Write operation: requires the --allow-write-operations flag or ALLOW_WRITE_OPERATIONS=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Trading pair using Luno's symbol convention (e.g. XBTZAR for BTC/ZAR, ETHZAR, XBTEUR). BTC is automatically rewritten to XBT. | |
| price | Yes | Limit price in the counter currency, as a decimal string (e.g. "500000"). Must align with the market's tick size; check get_markets_info. | |
| type | Yes | Side of the order. BUY = bid (buy the base currency with the counter currency); SELL = ask (sell the base currency for the counter currency). | |
| volume | Yes | Order volume in the base currency, as a decimal string (e.g. "0.001"). Must meet the market's minimum volume and step size; check get_markets_info. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes |