Place a practice order (trade permission + OmniMarket Pro)
Fills completely at or better than your price limit, or is rejected — never half-filled. `clientOrderId` makes retries safe: the same id with the same body returns the original order (`200`, `replayed: true`); the same id with a different body is `409 client_order_id_conflict`. API trading stops a few minutes before a market closes. Practice money only.
Fills completely at or better than your price limit, or is rejected —
never half-filled. clientOrderId makes retries safe: the same id with
the same body returns the original order (200, replayed: true);
the same id with a different body is 409 client_order_id_conflict.
API trading stops a few minutes before a market closes. Practice money only.
OMX-KEY-ID<token>Plus OMX-TIMESTAMP and OMX-SIGNATURE (Ed25519) — see Authentication.
application/json- body
clientOrderId*stringYour own id for this order
^[A-Za-z0-9_-]{1,64}$marketId*stringuuidoptionKey*stringside*string"BUY""SELL"amountUsd?numberBUY: practice dollars to spend
maxPrice?numberBUY: highest average price you accept (required for BUY)
0 <= value <= 1shares?numberSELL: shares to sell
minPrice?numberSELL: lowest average price you accept (required for SELL)
0 <= value <= 1Retry of an existing clientOrderId — the original order
curl -X POST 'https://api.omnimarketx.com/api/public/v1/practice/orders' \ -H 'Content-Type: application/json' \ -d '{ "clientOrderId": "string", "marketId": "4e934bc8-bf09-4970-9252-7ebc32247830", "optionKey": "YES", "side": "BUY"}'