CME Historical Market Depth Data on Google Cloud Platform

As of December 1, 2022, CME Historical Market Depth Data on Google Cloud Platform (GCP) is available for clients to access through Google BigQuery services and is easily discoverable through Google Analytics Hub. This service enables customer to query data from 2014 to the present day and can handle the heaviest workloads. 

This topic provides a technical overview of CME Historical Market Depth Data on GCP.

For complete details regarding Google Cloud Services, including BigQuery and Analytics Hub, please refer to:

Contents

Revision History

DateDescription
6/14/2023Revised Onboarding section.
12/1/2022Initial publication.

Key Events and Dates

DateMilestone
12/1/2022Production

Certification

Certification for Historical Market Depth Data on Google Cloud Platform is not required. 

Onboarding

Customers access CME Group data products on Google Cloud (GCP) through any BigQuery discovery service, including Analytics Hub.

Customers interested in accessing the CME Historical Market Depth Data on GCP dataset should contact CME Group Data Sales, complete the Information License Agreement (if required) and pay the applicable fee.

Access Products

The following steps are required for onboarding and entitlements to the CME Historical Market Depth Data on GCP dataset in BigQuery:

  1. Confirm/Obtain your CME Group Login ID. See additional information about creating a CME Group Login account as needed.
  2. Confirm/Obtain your Google Cloud account and Project. Navigate to cloud.google.com to login.
  3. From your Google Account, select the Google Cloud menu ( ), then navigate to BigQuery > AnalyticsHub.
  4. Select Search Listings.
  5. Enter "CME Group" and select from the following products
    1. CME Group Historical Market Depth Data
    2. New York Mercantile Exchange 10 Level Order Book
    3. Commodities Exchange Center 10 Level Order Book
    4. Chicago Mercantile Exchange 10 Level Order Book
    5. Chicago Board of Trade 10 Level Order Book
  6. Select Request Access to begin the licensing workflow to fill out the Schedule 6 and share your Google account to gain access. 

Sample Queries

This T+1 service gives customers the ability to directly access the CME database from January 2014 to the present day. After gaining access, customers will be able to streamline data into other cloud services, such as Google Sheets, BigQuery Machine Learning and Google Vertex AI,etc.  

The historical market depth dataset contains 3 different data tables:

Statistics: Data examples include Settlements, Open, High, Low, Close, aggregated volume

Depth of Book: All market data for 10 Levels deep in futures and 5 level deep in options.

Quotes: User Defined Spread data.  Customers can query when instruments were RFQ'd.

These tables allow customers to recreate the book or easily query for Top of Book or Time and Sales. More advance users will be able to extract market analytics such as 200 MA, TWAP, and VWAP, etc., from these two tables.

Top of Book

SELECT transaction_ts, glbx_sym, bid_level_1_qty,bid_level_1_px,ask_level_1_px,ask_level_1_qty
FROM customersProject.prod_cme_globex_10_level_order_book.v_orderbook_10_lvl_futuresandoptions
WHERE cycle_date = "2022-09-09"
AND glbx_sym= "MBTU2"
ORDER BY transaction_ts

Time and Sales (Trades)

SELECT transaction_ts,glbx_sym,last_trade_px, last_trade_qty
FROM customersProject.prod_cme_globex_10_level_order_book.v_orderbook_10_lvl_futuresandoptions
WHERE cycle_date = "2022-09-09"
AND glbx_sym= "BTCU2"
and rpt_type = 'TRD'
ORDER BY transaction_ts

Settlements

SELECT tranaction_ts, glbx_sym,settle_px, security_type,transaction_ts_hour
FROM customersProject.prod_cme_globex_10_level_order_book.v_statistics_futuresandoptions
WHERE cycle_date between "2022-08-01" AND "2022-08-31"
AND glbx_sym = "MBTZ2"
AND rpt_type = "SETL"
AND transaction_ts_hour= 20
ORDER BY tranaction_ts

Accumulated Volume

SELECT tranaction_ts, glbx_sym,volume_qty, security_type,transaction_ts_hour
FROM customersProject.prod_cme_globex_10_level_order_book.v_statistics_futuresandoptions
WHERE cycle_date between "2022-08-01" AND "2022-08-31"
AND glbx_sym = "MBTZ2"
AND rpt_type = "MDV"
ORDER BY tranaction_ts

Historical Market Depth Data Schema

Order Book (v_orderbook_10_lvl_futuresandoptions)

Order Book Schema

Column NameData TypeDescriptionValuesExample
Order Book SnapshotImplied Order Book SnapshotTrade
transaction_ts_nanosINTNanosecond portion of timestamp
360885579138139943205200529
transaction_tsTimestampTransaction Time To The Nearest Microsecond UTC
2022-09-27 02:58:45.360885 UTC2022-09-27 03:37:46.138139 UTC2022-09-26 15:56:04.205200 UTC
rpt_seq_nbrVARCHARMessage Sequence Number
85594911911762834
px_quote_ccyVARCHARCurrency Code3-Letter ISO CodeUSDJPYUSD
contract_periodVARCHARMaturity Month/Year
202211202303202212
glbx_security_idVARCHARSecurity ID
51623218206323
glbx_symVARCHARSymbol
BTCX2-BTCZ2NIYH3ESZ2
security_typeVARCHARSecurity TypeOPT=Option, FUT=Future, MLEG=SpreadsFUTFUTFUT
und_sec_typeVARCHARUnderlying Product TypeOPT=Option, FUT=Future, MLEG=SpreadsNONENONENONE
market_segment_idVARCHARMarket Segment ID
746864
last_trade_aggressor_side_indVARCHARTrade Aggressor Side
nullnullB
last_trade_qtyDECIMAL(22.9)Trade Quantity
nullnullnull
session_high_pxDECIMAL(22.9)Session High Trade Price 
nullnull373050
session_high_px_displayVARCHARSession High Trade Price Display
nullnull3730.5
session_low_pxDECIMAL(22.9)Session Low Trade Price
nullnull367150
session_low_px_displayVARCHARSession Low Trade Price Display
nullnull3671.5
last_trade_pxVARCHARLast Trade Price Display
nullnull3694
last_trade_px_displayDECIMAL(22.9)Last Trade Price
nullnull369400
rpt_typeVARCHARArchived Market Data Row Type (Used By Client To Filter)OBS = Order Book Snapshot, TRD=TradeOBSOBSTRD
implied_book_indVARCHARImplied Book IndicatorY=Implied Snapshot, N=Not ImpliedNYN
user_defined_indVARCHARIs Instrument User Defined Spread?H=CME, U=User DefinedHHH
ask_level_1_pxDECIMAL(22.9)level1askprice
2826335null
ask_level_1_px_displayVARCHARlevel1askdisplayprice
2826335null
ask_level_1_qtyDECIMAL(22.9)level1askquantity
11null
ask_level_1_order_countINTlevel1askorder
10null
bid_level_1_pxDECIMAL(22.9)level1bidprice
1626230null
bid_level_1_px_displayVARCHARlevel1biddisplayprice
1626230null
bid_level_1_qtyDECIMAL(22.9)level1bidquantity
21null
bid_level_1_order_countINTlevel1bidorder
20null
ask_level_2_pxDECIMAL(22.9)level2askprice
4526340null
ask_level_2_px_displayVARCHARlevel2askdisplayprice
4526340null
ask_level_2_qtyDECIMAL(22.9)level2askquantity
21null
ask_level_2_order_countINTlevel2askorder
10null
bid_level_2_pxDECIMAL(22.9)level2bidprice
1426225null
bid_level_2_px_displayVARCHARlevel2biddisplayprice
1426225null
bid_level_2_qtyDECIMAL(22.9)level2bidquantity
21null
bid_level_2_order_countINTlevel2bidorder
10null
ask_level_3_pxDECIMAL(22.9)level3askprice
550null
ask_level_3_px_displayVARCHARlevel3askdisplayprice
550null
ask_level_3_qtyDECIMAL(22.9)level3askquantity
10null
ask_level_3_order_countINTlevel3askorder
10null
bid_level_3_pxDECIMAL(22.9)level3bidprice
130null
bid_level_3_px_displayVARCHARlevel3biddisplayprice
130null
bid_level_3_qtyDECIMAL(22.9)level3bidquantity
10null
bid_level_3_order_countINTlevel3bidorder
10null
ask_level_4_pxDECIMAL(22.9)level4askprice
570null
ask_level_4_px_displayVARCHARlevel4askdisplayprice
570null
ask_level_4_qtyDECIMAL(22.9)level4askquantity
20null
ask_level_4_order_countINTlevel4askorder
10null
bid_level_4_pxDECIMAL(22.9)level4bidprice
110null
bid_level_4_px_displayVARCHARlevel4biddisplayprice
110null
bid_level_4_qtyDECIMAL(22.9)level4bidquantity
10null
bid_level_4_order_countINTlevel4bidorder
10null
ask_level_5_pxDECIMAL(22.9)level5askprice
590null
ask_level_5_px_displayVARCHARlevel5askdisplayprice
590null
ask_level_5_qtyDECIMAL(22.9)level5askquantity
10null
ask_level_5_order_countINTlevel5askorder
10null
bid_level_5_pxDECIMAL(22.9)level5bidprice
100null
bid_level_5_px_displayVARCHARlevel5biddisplayprice
100null
bid_level_5_qtyDECIMAL(22.9)level5bidquantity
10null
bid_level_5_order_countINTlevel5bidorder
10null
ask_level_6_pxDECIMAL(22.9)level6askprice
64nullnull
ask_level_6_px_displayVARCHARlevel6askdisplayprice
64nullnull
ask_level_6_qtyDECIMAL(22.9)level6askquantity
2nullnull
ask_level_6_order_countINTlevel6askorder
1nullnull
bid_level_6_pxDECIMAL(22.9)level6bidprice
5nullnull
bid_level_6_px_displayVARCHARlevel6biddisplayprice
5nullnull
bid_level_6_qtyDECIMAL(22.9)level6bidquantity
1nullnull
bid_level_6_order_countINTlevel6bidorder
1nullnull
ask_level_7_pxDECIMAL(22.9)level7askprice
67nullnull
ask_level_7_px_displayVARCHARlevel7askdisplayprice
67nullnull
ask_level_7_qtyDECIMAL(22.9)level7askquantity
1nullnull
ask_level_7_order_countINTlevel7askorder
1nullnull
bid_level_7_pxDECIMAL(22.9)level7bidprice
0nullnull
bid_level_7_px_displayVARCHARlevel7biddisplayprice
0nullnull
bid_level_7_qtyDECIMAL(22.9)level7bidquantity
2nullnull
bid_level_7_order_countINTlevel7bidorder
2nullnull
ask_level_8_pxDECIMAL(22.9)level8askprice
68nullnull
ask_level_8_px_displayVARCHARlevel8askdisplayprice
68nullnull
ask_level_8_qtyDECIMAL(22.9)level8askquantity
1nullnull
ask_level_8_order_countINTlevel8askorder
1nullnull
bid_level_8_pxDECIMAL(22.9)level8bidprice
-56nullnull
bid_level_8_px_displayVARCHARlevel8biddisplayprice
-56nullnull
bid_level_8_qtyDECIMAL(22.9)level8bidquantity
1nullnull
bid_level_8_order_countINTlevel8bidorder
1nullnull
ask_level_9_pxDECIMAL(22.9)level9askprice
74nullnull
ask_level_9_px_displayVARCHARlevel9askdisplayprice
74nullnull
ask_level_9_qtyDECIMAL(22.9)level9askquantity
1nullnull
ask_level_9_order_countINTlevel9askorder
1nullnull
bid_level_9_pxDECIMAL(22.9)level9bidprice
-90nullnull
bid_level_9_px_displayVARCHARlevel9biddisplayprice
-90nullnull
bid_level_9_qtyDECIMAL(22.9)level9bidquantity
1nullnull
bid_level_9_order_countINTlevel9bidorder
1nullnull
ask_level_10_pxDECIMAL(22.9)level10askprice
78nullnull
ask_level_10_px_displayVARCHARlevel10askdisplayprice
78nullnull
ask_level_10_qtyDECIMAL(22.9)level10askquantity
1nullnull
ask_level_10_order_countINTlevel10askorder
1nullnull
bid_level_10_pxDECIMAL(22.9)level10bidprice
-110nullnull
bid_level_10_px_displayVARCHARlevel10biddisplayprice
-110nullnull
bid_level_10_qtyDECIMAL(22.9)level10bidquantity
1nullnull
bid_level_10_order_countINTlevel10bidorder
1nullnull
clr_symVARCHARAsset Code
BTCNIYES
trading_status_indVARCHARTrade type DailyOpeningPrice is the only possible value
nullnull
transaction_ts_hourVARCHARThe hour of day the message was produced
2315
transaction_ts_displayVARCHARString Representation Of Transaction Time To The Nearest Nanosecond
2022-09-27 02:58:45.360885579 UTC2022-09-27 03:37:46.138139943 UTC2022-09-26 15:56:04.205200529 UTC
cycle_dateVARCHARCycle Date, this is populated by the transaction time on the messages yyyy-MM-dd
2022-09-262022-09-262022-09-26
exchange_micVARCHARExchangeXCBT=Chicago Board of Trade
XCME=Chicago Mercantile Exchange
XNYM=New York Mercantile Exchange
XCEC= COMEX (Commodities Exchange Center)
NYUM=XNYM-DUMX inter-exchange spread
MGCB=XMGE-XCBT inter-exchange spread
CBCM=XCME-XCBT inter-exchange spread
XFXS=CME FX Link spread
GLBX=FX Spot leg
XCMEXCMEXCME
underlying_productVARCHARAsset sub class, e.g. Energy, Equitiy, Interest Rates2=Commodity/Agriculture
4=Currency
5=Equity
6=Government
10=Mortgage
12=Other
13=Financing
14=Interest Rate
15=FX Cash
16=Energy
17=Metals
EquityEquityEquity

Statistics (v_statistics_futuresandoptions)

Statistics Schema

Column NameData TypeDescriptionValuesExample
SettlementsTrade VolumeIndicative Opening PriceOpening Summary
px_quote_ccyVARCHARCurrency Code3-Letter ISO CodeUSDUSDUSDUSD
rpt_seq_nbrINTMessage Sequence Number
2089762161895861215775084269
market_segment_idVARCHARMarket Segment ID
74747474
contract_periodVARCHARMaturity Month/Year
202212202212202212202212
transaction_ts_nanosINTNanosecond portion of timestamp
96124327928290015320109567787994367
glbx_security_idVARCHARSecurity ID
49745497454974549745
security_typeVARCHARSecurity TypeOPT=Option, FUT=Future, MLEG=SpreadsFUTFUTFUTFUT
glbx_symVARCHARSymbol
BTCZ2BTCZ2BTCZ2BTCZ2
indicative_opening_pxDECIMAL(22.9)Indicative Opening Price


18705
transaction_tsTimestampTransaction Time To The Nearest Nanosecond
2022-09-30 21:37:30.961243 UTC2022-09-30 07:13:07.282900 UTC2022-09-25 23:04:01.201095 UTC2022-09-30 12:25:59.087994 UTC
user_defined_indVARCHARIs Instrument User Defined Spread?H=CME, U=User DefinedHHHH
clr_symVARCHARAsset Code
BTCBTCBTCBTC
settle_px_displayVARCHARSettlement Price - Formatted
19470


settle_pxDECIMAL(22.9)Settlement Price - Decimal
19470


volume_qtyDECIMAL(22.9)Volume Quantity

5

session_high_pxVARCHARSession High Price - Formatted



0
session_high_px_displayDECIMAL(22.9)Session Low Price - Decimal



0
session_low_pxVARCHARSession Low Price - Formatted



19470
session_low_px_displayDECIMAL(22.9)Session Low Price - Decimal



19470
settle_dtDATESettlement Date
30/09/2022


rpt_typeVARCHARArchived Market Data Row Type (Used By Client To Filter)IOP=Indicative Opening Price, MDV=Trade Volume, SETL= Settlements, OPNS=Opening SummarySETLMDVIOPOPNS
transaction_ts_hourINTThe hour of day the message was produced
2172312
exchange_micVARCHARExchangeXCBT=Chicago Board of Trade
XCME=Chicago Mercantile Exchange
XNYM=New York Mercantile Exchange
XCEC= COMEX (Commodities Exchange Center)
NYUM=XNYM-DUMX inter-exchange spread
MGCB=XMGE-XCBT inter-exchange spread
CBCM=XCME-XCBT inter-exchange spread
XFXS=CME FX Link spread
GLBX=FX Spot leg
XCMEXCMEXCMEXCME
underlying_productVARCHARAsset sub class, e.g. Energy, Equitiy, Interest Rates2=Commodity/Agriculture
4=Currency
5=Equity
6=Government
10=Mortgage
12=Other
13=Financing
14=Interest Rate
15=FX Cash
16=Energy
17=Metals
EquityEquityEquityEquity
transaction_ts_displayVARCHARString Representation Of Transaction Time To The Nearest Nanosecond




cycle_dateVARCHARCycle Date, this is populated by the transaction time on the messages yyyy-MM-dd
30/09/202230/09/202225/09/202230/09/2022

Quotes Table (v_quote_request_futuresandoptions)

Quotes Schema

Column NameData TypeDescriptionValuesExample
Possible ValuesQuote
rpt_typeVARCHARArchived Market Data Row Type (Used By Client To Filter)
QREQ=QuotesQREQ
transaction_tsTimestampTransaction Time To The Nearest Nanosecond

2022-09-27 11:55:08.526788 UTC
transaction_ts_nanosINTNanosecond portion of timestamp

526788031
glbx_symVARCHARSymbol

UD:0A: 12 0927869730
security_typeVARCHARSecurity TypeOPT=Option, FUT=Future, MLEG=SpreadsOPT=Option, FUT=Future, MLEG=SpreadsOPT
glbx_security_idVARCHARSecurity ID

869730
px_quote_ccyVARCHARCurrency Code3-Letter ISO Code3-Letter ISO CodeUSD
user_defined_indVARCHARIs Instrument User Defined Spread?H=CME, U=User DefinedH=CME, U=User DefinedU
contract_periodVARCHARMaturity Month/Year

202210
market_segment_idVARCHARMarket Segment ID

88
quote_req_idVARCHARQuote Request ID

CME00869730288506535
order_qtyDECIMAL(22.9)Order Quantity

0
side_indVARCHARSideBuy, Sell, Cross, N/ABuy, Sell, Cross, N/AN/A
quote_typeVARCHARQuote TypeTR=TradeableTR=TradeableTR
clr_symVARCHARAsset Code

ADU
transaction_ts_hourINTThe hour of day the message was produced

11
exchange_micVARCHARExchangeXCBT=Chicago Board of Trade
XCME=Chicago Mercantile Exchange
XNYM=New York Mercantile Exchange
XCEC= COMEX (Commodities Exchange Center)
NYUM=XNYM-DUMX inter-exchange spread
MGCB=XMGE-XCBT inter-exchange spread
CBCM=XCME-XCBT inter-exchange spread
XFXS=CME FX Link sp
XCBT=Chicago Board of Trade
XCME=Chicago Mercantile Exchange
XNYM=New York Mercantile Exchange
XCEC= COMEX (Commodities Exchange Center)
NYUM=XNYM-DUMX inter-exchange spread
MGCB=XMGE-XCBT inter-exchange spread
CBCM=XCME-XCBT inter-exchange spread
XFXS=CME FX Link spread
GLBX=FX Spot leg
XCME
underlying_productVARCHARAsset sub class, e.g. Energy, Equitiy, Interest Rates2=Commodity/Agriculture
4=Currency
5=Equity
6=Government
10=Mortgage
12=Other
13=Financing
14=Interest Rate
15=FX Cash
16=Energy
17=Metals
2=Commodity/Agriculture
4=Currency
5=Equity
6=Government
10=Mortgage
12=Other
13=Financing
14=Interest Rate
15=FX Cash
16=Energy
17=Metals

transaction_ts_displayVARCHARString Representation Of Transaction Time To The Nearest Nanosecond


cycle_dateVARCHARCycle Date, this is populated by the transaction time on the messages yyyy-MM-dd

27/09/2022

Contact Information






How was your Client Systems Wiki Experience? Submit Feedback

Copyright © 2024 CME Group Inc. All rights reserved.