Returns all currently open orders for a specific market asset (outcome).
Documentation Index
Fetch the complete documentation index at: https://docs.predictamarkets.com/llms.txt
Use this file to discover all available pages before exploring further.
Flexible identifier type that accepts either a numeric integer ID or a human-readable qualified ID string (QID). QIDs follow a prefix convention: MA for markets, MAA for market assets, AP for account payouts. Most path parameters that accept an ID use this type so callers can use whichever form is more convenient.
Integer ID of the market asset (outcome)
Filter by order type (BUY/SELL)
Filter by order type (BUY/SELL)
Filter by order type (BUY/SELL)
BUY, SELL Filter by order status (OPEN/FILLED/CANCELLED)
OPEN, PARTIAL, FILLED, CANCELLED Minimum order price
Maximum order price
Minimum order quantity
Maximum order quantity
Open orders
Foreign key to accounts table
Foreign key to market_assets table
Price per share, 2 decimal places
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Number of shares, 2 decimal places
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Initial number of shares, 2 decimal places
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Type of order (BUY or SELL)
BUY, SELL Market asset
Primary key, auto-generated
Query identifier
Market side (YES/NO)
YES, NO Order status
OPEN, PARTIAL, FILLED, CANCELLED Order creation timestamp
Internal processing flag. True when the order has been dequeued from the matching engine's input queue and is being or has been processed. False if still waiting in queue. Not meaningful for API consumers.
Internal state within the matching engine pipeline. PENDING means the order is queued; PROCESSING means the engine is working on it; COMPLETED means processing finished (check status for the trading result); FAILED means an error occurred.
PENDING, PROCESSING, COMPLETED, FAILED, CANCELLED Error message if processing fails
Number of processing retries
Refund status
NOT_REQUIRED, COMPLETED, FAILED Actual trade price, if filled
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Last processing timestamp