Market data

Order-book data from decentralized exchanges, and trade and quote history for U.S. stocks and futures, aligned for research and superintelligence (SI) systems.

Historical order book data

Order books from on-chain perpetual futures venues, held in one research warehouse with the U.S. history and read on one clock.

  • Rebuilt from snapshots and diffs

    Order books rebuilt from snapshots and book diffs, so the full book can be read at any point in its recorded history.

  • Fills, liquidations and funding

    Fills, liquidations and funding are stored as their own records alongside the book.

How an order book is rebuiltA full book snapshot at time t0 is followed by a series of book diffs. Applying every diff up to time t gives the order book at time t, with every price level on both sides. Fills, liquidations and funding are separate records placed on the same UTC clock.Snapshotfull book at t0diffdiffdiffdiffOrder book at time tevery price level, bid and askt0tone UTC clockfillliquidationfundingHow an order book is rebuiltA full book snapshot at time t0 is followed by a series of book diffs. Applying every diff up to time t gives the order book at time t, with every price level on both sides. Fills, liquidations and funding are separate records placed on the same UTC clock.Snapshotfull book at t0diffdiffdiffdifft0tone UTC clockfillliquidationfundingOrder book at time tevery price level, bid and ask
SchematicThe book at time t is the last full snapshot plus every book diff up to t. Fills, liquidations and funding sit on the same clock as separate records.

U.S. stock and futures trade and quote history

Trade and quote history from 2018, mapped to one symbol list and aligned in time with the on-chain data.

Request U.S. trade and quote history

Trade data lists each trade with its price and size. Quote data lists the bid and ask prices quoted over time. For U.S. stocks the two are often called TAQ data, short for trades and quotes.

Every trade and quote sits on the same UTC clock as the on-chain order books, with the source's own timestamp kept beside capture time.

Each source sets the terms on which its trade and quote data may be used and shared. The history supports research and custom builds within those terms.

Record schema

Field names and types for the two core records. Every record carries the source's own timestamp beside our capture time.

Order-book update

FieldTypeDescription
source_venuestringVenue that published the update
instrument_idstringInstrument in the Rillor symbol map
update_typeenum: snapshot, diffFull book, or a change to it
sequenceintegerSource sequence number, checked for gaps
sideenum: bid, askSide of the book
FieldTypeDescription
pricedecimalPrice level
sizedecimalSize resting at the level after the update. Zero removes the level.
source_tsUTC timestampEvent time as the source reports it
capture_tsUTC timestampTime the update was captured
Show all fields
FieldTypeDescription
pricedecimalPrice level
sizedecimalSize resting at the level after the update. Zero removes the level.
source_tsUTC timestampEvent time as the source reports it
capture_tsUTC timestampTime the update was captured

Trade

FieldTypeDescription
source_venuestringVenue where the trade printed
instrument_idstringInstrument in the Rillor symbol map
trade_idstringSource trade identifier
pricedecimalTrade price
sizedecimalTrade size
FieldTypeDescription
aggressor_sideenum: buy, sell, unknownSide that initiated the trade, where the source reports it
trade_kindenum: fill, liquidationLiquidations flagged in on-chain perpetual futures data
conditionslist of stringsSale conditions as reported, for equities and futures
source_tsUTC timestampEvent time as the source reports it
capture_tsUTC timestampTime the trade was captured
Show all fields
FieldTypeDescription
aggressor_sideenum: buy, sell, unknownSide that initiated the trade, where the source reports it
trade_kindenum: fill, liquidationLiquidations flagged in on-chain perpetual futures data
conditionslist of stringsSale conditions as reported, for equities and futures
source_tsUTC timestampEvent time as the source reports it
capture_tsUTC timestampTime the trade was captured

One clock, one symbol map

Data from on-chain venues and from U.S. stocks and futures only becomes useful together when every record sits on the same timeline and every instrument has one name.

  • ClockEvery record is placed on one UTC clock. The source's own timestamp is kept beside the capture time.
  • Symbol mapOne identifier per instrument across sources, so a stock, a futures contract and a perpetual on the same underlying can be joined.
  • Latency assumptionsDocumented per source: which time each timestamp represents, and the expected delay between the event and its record.
  • Sequence checksBook sequence numbers are checked on every rebuild, and gaps are written into the coverage notes for that instrument.

What it is used for

Forecasting research, backtests and simulated markets for SI systems, on real order flow recorded as it happened.

Access

Each part of the data carries the terms of its source.

Datasets ready to license
  • DEX order-book dataProvided under a written data agreement.
  • U.S. equities and futuresSupports research and custom builds within the rights of each source.
  • DeliveryAn authenticated API, a scheduled export or an agreed file format.
  • Custom buildsInstruments, history windows and derived tables built to your specification. Custom datasets

Common questions

  • What is historical order book data?

    A record of a market's order book over time: every price level on both sides, bid and ask, as it changed. Here it comes from on-chain perpetual futures venues. A full book snapshot is followed by book diffs, and applying every diff up to a time gives the book at that time. Fills, liquidations and funding are kept as their own records on the same UTC clock.

  • What are trade and quote data for U.S. stocks?

    Trade data lists each trade with its price and size, and quote data the bid and ask prices quoted over time. Rillor holds both for U.S. stocks and futures from 2018, mapped to one symbol list and aligned in time with the on-chain order books.

  • How is the data delivered?

    By authenticated API, scheduled export or an agreed file format. The on-chain order book data is provided under a written data agreement, and the U.S. history supports research and custom builds within the rights of each source. Instruments, history windows and derived tables can be built to your specification.

Notices

Data rights. Source data is provided within the rights of each source.

Investment. Rillor is not a registered investment adviser or commodity trading advisor and does not provide investment or trading advice. Research, forecasts, data and software described on this site are for research and engineering use. Nothing here is an offer or recommendation to buy or sell any security, commodity interest or digital asset. Past or simulated results do not indicate future results.

Tell us the instruments and history you need.