Skip to main content
A market maker on OCX is an ordinary account that continuously quotes both sides of one or more markets — resting bids and asks around a fair value — and earns the spread (and, at higher volume tiers, maker rebates) while providing liquidity to the book. You do not need a special account type. Any authenticated account can quote. What distinguishes a market maker is the workflow: authenticate once, provision an API key for automation, stream a reference price, and continuously replace a ladder of two-sided quotes on each market with a single atomic call — then react to fills from the real-time stream.

Quoting API

Post and refresh a multi-level ladder with one atomic bulk call, and pull it with cancel-all.

Fill stream

React to executions and position changes in real time over SSE instead of polling.

Best practices

Inventory skew, dead-man switch, reconnect and heartbeat handling.

Fee tiers

Volume-based maker/taker fees. Query the live schedule from the API.

The market-making loop

1

Authenticate and provision a key

Sign in once with SIWE, then mint a scoped API key for your bot. Send the key on every automated request.
2

Discover markets and reference data

Pull the market catalog, order book, stats, and your fee tier. Compute a fair value from your own reference price feed.
3

Post a two-sided ladder

Build a symmetric set of bid/ask levels around fair value and submit them in one atomic bulk call that replaces your prior quotes.
4

React to fills

Consume the real-time stream. Each fill arrives as a trade plus a position change — feed that back into your next quoting cycle (skew or shrink as inventory builds).
5

Re-quote and manage risk

Re-run the ladder on your own cadence as your reference price moves. On feed loss, error, or shutdown, cancel everything.

Requirements

Quotes are subject to portfolio margin server-side. Fund the perps bucket (transfer wallet → perps) so your resting quotes and any resulting positions have collateral. Orders that fail the margin check are rejected — see Best practices.
Human owner signs in once with Sign-In With Ethereum, then provisions an API key with the trade scope for the bot. See Authentication.
You supply your own fair value. OCX publishes marks, funding, and a full options board for reference, but your quoting decisions and pricing are yours.
SSE streams are long-lived and diff server-side. A well-behaved client applies the initial snapshot, folds in deltas, reconnects on drop, and wires a cancel-all kill-switch. See Best practices.

Where market makers quote

Perpetuals, dated futures, options, and spot all support two-sided quoting. This section documents the perpetuals/futures quoting path in detail (the highest-throughput programmatic surface). The options CLOB exposes an equivalent bulk-quote path — see the API reference for the /options/quotes/bulk alias.
Fees follow a standard maker–taker model with volume-based tiers — higher rolling volume earns better rates, and the top tiers can make the maker side a rebate. Query the live schedule from the API rather than hardcoding it; your personal tier is reflected in every order preview.