Phase 2 · 2027 · planned, subject to a data agreement

OKX

OKX is planned for Phase 2, 2027, subject to a data agreement with OKX. The plan covers spot, perpetual swaps, dated futures and options, with L2 depth and L3 order events.

Phase22027
StatusPlannedsubject to agreement
Capture2regions
Matrix5of 6 columns

What we plan to offer on OKX.

Coverage of OKX begins once a data agreement with OKX is in place, and the final scope follows that agreement.

SPOT · PLANNEDSpot markets

All spot pairs, including USDC and crypto-quoted pairs.

PERP · PLANNEDPerpetuals & futures

USDT-, USDC- and coin-margined swaps, dated futures and options.

FUND · PLANNEDFunding

Funding at every settlement, with the predicted next rate as it updates.

L2 · PLANNEDL2 depth

Full-depth snapshots and deltas, merged across two regions by venue sequence number.

L3 · PLANNEDL3 order events

Order events normalized to add, modify, cancel and fill.

L4 · NOT PLANNEDL4 attributed flow

Offered if the venue's data agreement includes participant-level data.

How we plan to capture OKX.

Once a data agreement with OKX is in place, we capture OKX independently from two regions and merge the two streams by venue sequence number, as we do for every venue. Production capture starts at least 90 days before early access, so depth history covers three months or more on day one.

Venue type
Centralized exchange
Funding interval
8 hours
Integrity
Venue sequence numbers, and book checksums where the feed includes them, verified at capture
Snapshots
A full-depth book snapshot at the top of every UTC hour (the 00:00 snapshot opens each daily file), plus the venue's own snapshots on reconnect, flagged with is_snapshot and snapshot_reason
Timestamps
Milliseconds in ts_exchange. ts_capture is int64 nanoseconds from a PTP-disciplined clock.
Regions
Two independent regions, assigned once the data agreement is in place
Marketvenue_symbolsymbol
SpotBTC-USDTBTC-USDT
Linear swapBTC-USDT-SWAPBTC-PERP
Inverse swapBTC-USD-SWAPBTC-USD-INV-PERP
Dated futureBTC-USDT-270625BTC-25JUN27
OptionBTC-USD-270625-90000-CBTC-25JUN27-90000-C

OKX symbols already carry base, quote, expiry, strike and type, so the mapping is a reformat of the expiry date. The full rules are in symbology.

  • funding keeps both the predicted rate stream and the settled rate.
  • Contract sizes differ by instrument. size is in base-asset units; divide by contract_size from instruments to get contracts.
  • Book checksum results are stored in checksum_ok on book_l2 rows.

Where history starts.

The history available for OKX depends on the agreement with OKX. Data we capture ourselves starts on the first day of production capture, which begins once that agreement is in place.

TableOfferedHistory fromsourceNote
trades●Per agreementfdc_capture
candles●Per agreementfdc_capture
quotes●Per agreementfdc_capture
book_l2●Per agreementfdc_capture
book_l3●Per agreementfdc_capture
book_l4○··Offered if the agreement includes participant-level data
funding●Per agreementfdc_capture
open_interest●Per agreementfdc_capture
liquidations●Per agreementfdc_capture
mark_index●Per agreementfdc_capture
options_chain●Per agreementfdc_captureIf the agreement includes options data
extended●Per agreementcomputed from fdc_capture
instruments●Per agreementvenue reference data
gaps●Per agreementfdc_capture

History for OKX follows the agreement with OKX. Gaps that survive the two-region merge are listed in the gaps table and never filled. See data quality.

Derived fields on OKX.

Extended fields are computed on ts_capture and published on a 100 ms grid. A field is available on a venue when its source data is.

KeyNameFromOffered
ofi_mlOFI-MLL2●
vpinVPINtrades●
queueQUEUEL3●
cxl_fillCXL/FILLL3●
resilRESILL2●
lambdaLAMBDAtrades●
markoutMARKOUTtrades●
partPARTL4○

Query it.

The same calls work on every venue; only venue and symbol change. Endpoints go live with Phase 1, and the v1 spec is a draft until then.

from fdc import Client

fdc = Client(api_key="fdc_live_...")

# L3 order events
book = fdc.book(
    venue="okx",
    symbol="BTC-PERP",
    depth="L3",
    start="2027-11-08",
    end="2027-11-08T01:00:00",
)
df = book.to_polars()

# funding at every settlement, then live
funding = fdc.funding(venue="okx", symbol="BTC-PERP",
                      start="2027-11-08", live=True)

Compare with.

All 12 venues

Shape what ships next.

Pre-registered partners vote on which venues and datasets ship first. Add OKX to your pre-registration to register your interest.

EARLY ACCESS · PRE-SALE PRICINGPre-register for early access → DANIEL GARCIA · CEO & FOUNDERdaniel@financedatacloud.com →