Practice trading
Preview a practice order (nothing is placed)
GET
header
OMX-KEY-ID<token>Plus OMX-TIMESTAMP and OMX-SIGNATURE (Ed25519) — see Authentication.
id*stringMarket id (UUID) or slug
optionKey*stringside*stringValue in
"BUY""SELL"amountUsd?numberBUY only
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.
curl -X GET 'https://api.omnimarketx.com/api/public/v1/practice/markets/string/quote?optionKey=string&side=BUY'Example Response200
Empty