System overview
The pieces
API gateway
The single public endpoint. Verifies your session or API key, applies rate
limits, and proxies both REST and long-lived streams to the engines.
Matching engines
A perpetuals/futures engine and a central limit order-book engine for options
and spot. Both match on price–time priority and support GTC, IOC, and FOK.
Market data
Institutional reference data from the CME markets, delivered in real time via
CQG, feeds the index, mark, and volatility-surface pipelines.
Pricing & marks
OCX computes its own index/mark prices, funding, and a fitted option
volatility surface. See Methodology.
Order books and matching
Orders rest on a central limit order book per market and match on price–time priority. Every order supports a time-in-force:| TIF | Behavior |
|---|---|
gtc | Rests on the book until filled or cancelled. |
ioc | Fills whatever it can immediately, then cancels the rest. |
fok | Fills fully and immediately, or is rejected. |
postOnly rejects an order that would take liquidity (keeping you on the maker
side); reduceOnly prevents an order from increasing your position. Multi-leg
option strategies execute all-or-none.
Market data and pricing
OCX prices every listed product against institutional reference data from the CME markets, delivered through CQG. From that source, OCX derives perpetual index and mark prices, the funding rate, dated-futures fair value, and a fitted implied-volatility surface for options. These are OCX’s published marks — used for reference and risk. The tradable prices are always the live order book.The API surface
Two request styles cover everything you do:- REST
- Streaming (SSE)
Request/response over HTTPS with JSON bodies. Used for market-data reads,
placing and cancelling orders, quoting, and account queries.