Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Comprehensive product and instrument reference data for BrokerTec is available on the Reference Data Warehouse in the following tables:

  • v_product_btec - all product reference data
  • v_instrument_btec - all instrument reference data

Contents

Table of Contents

Schemas

Product Schema

Table filter
fixedCols1
totalrow,,,,,,,,,,,
hidelabelsfalse
ddSeparator
sparkNameSparkline
hidePanetrue
limitHeight1
sparklinefalse
defaultx,Description&&Field Name&&Mode&&Type
isFirstTimeEnterfalse
cell-width250,250
hideColumnstrue
totalRowName
totalColName
disabledfalse
enabledInEditorfalse
globalFilterfalse
id1686672403963_2023870844
iconfilter
order0,1
hideControlsfalse
inversefalse,true
numbering
datefilter
columnv_product_btec
sortField Name ⇧
totalcol
disableSavefalse
separatorPoint (.)
rowsPerPage
labelsv_product_btec‚Hide columns
thousandSeparator
ignoreFirstNrows
ddOperatorOR
userfilter
datepatterndd M yy
numberfilter
heightValue
updateSelectOptionsfalse
worklog365|5|8|y w d h m|y w d h m
isORAND
showNRowsifNotFiltered

Table excerpt include
namecompRDWdatasets
merge-tablestrue
pageComprehensive RDW Datasets
typepage

Instrument Schema

Table filter
fixedCols1
totalrow,,,,,,,,,,,
hidelabelsfalse
ddSeparator
sparkNameSparkline
hidePanetrue
limitHeight1
sparklinefalse
defaultx,Description&&Field Name&&Mode&&Type
isFirstTimeEnterfalse
cell-width250,250
hideColumnstrue
totalRowName
totalColName
disabledfalse
enabledInEditorfalse
globalFilterfalse
id1686673452411_-98923182
iconfilter
order1,0
hideControlsfalse
inversefalse,true
numbering
datefilter
column
sortField Name ⇧
totalcol
disableSavefalse
separatorPoint (.)
rowsPerPage
labelsv_instrument_btec‚Hide columns
thousandSeparator
ignoreFirstNrows
ddOperator
userfilterv_instrument_btec
datepatterndd M yy
numberfilter
heightValue
updateSelectOptionsfalse
worklog365|5|8|y w d h m|y w d h m
isORAND
showNRowsifNotFiltered

Table excerpt include
namecompRDWdatasets
merge-tablestrue
pageComprehensive RDW Datasets
typepage

Sample Queries

Query Products By Exchange ID

Code Block
SELECT * /*add specific fields or use star for all*/
FROM `/*insert project name */.cmeg_refdata_btec.v_product_btec`
WHERE exch_id="BTEU" AND run_date="2023-06-05" /* add query terms and run_date value to limit results */

Query All Instruments Listed for 2 Year Note Product

Code Block
SELECT a.long_name, a.sec_type, a.glbx_sym, a.glbx_security_id, b.prod_guid /* For convenience, the Instruments table is referred to as "a" and the  Products table is referred to as "b". */
FROM `/*insert project name */.cmeg_refdata_btec.v_instrument_btec` a
INNER JOIN `/*insert project name */.cmeg_refdata_btec.v_product_btec` b ON a.prod_guid=b.prod_guid
WHERE a.prod_guid_int=/* integer value for 2 Year Note product */ AND a.run_date="2023-06-05" AND b.run_date="2023-06-05"