OmniMarketX

Trade what matters.

Skip to Content
Practice trading

Preview a practice order (nothing is placed)

GET
/practice/markets/{id}/quote

Authorization

headerOMX-KEY-ID<token>

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

Path Parameters

id*string

Market id (UUID) or slug

Query Parameters

optionKey*string
side*string
Value in"BUY""SELL"
amountUsd?number

BUY only

shares?number

SELL only

Response Body

data: { shares, avgPrice, priceNow, cost, fee, total }. avgPrice = cost / shares (fee excluded), the number maxPrice/minPrice is checked against; priceNow = the practice price before the order.

Example Request
curl -X GET 'https://api.omnimarketx.com/api/public/v1/practice/markets/string/quote?optionKey=string&side=BUY'
Example Response200
Empty