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-grade reference data, consumed in real time, 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: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-grade reference data from the underlying derivatives markets. 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.