OmniMarketX

Trade what matters.

Skip to Content
Practice trading

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.

POST
/practice/orders

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.

Authorization

headerOMX-KEY-ID<token>

Plus OMX-TIMESTAMP and OMX-SIGNATURE (Ed25519) — see Authentication.

Request Body

application/json
  1. body
clientOrderId*string

Your own id for this order

Match^[A-Za-z0-9_-]{1,64}$
marketId*string
Formatuuid
optionKey*string
side*string
Value in"BUY""SELL"
amountUsd?number

BUY: practice dollars to spend

maxPrice?number

BUY: highest average price you accept (required for BUY)

Range0 <= value <= 1
shares?number

SELL: shares to sell

minPrice?number

SELL: lowest average price you accept (required for SELL)

Range0 <= value <= 1

Response Body

Retry of an existing clientOrderId — the original order

Example Request
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"}'
Example Response
Empty