Dataset Viewer
Auto-converted to Parquet Duplicate
frequency
stringclasses
1 value
measure
stringclasses
1 value
risk_category
stringclasses
4 values
instrument
stringclasses
3 values
currency
stringclasses
25 values
location
stringclasses
1 value
period
stringdate
1995-01-01 00:00:00
2026-01-01 00:00:00
value
float64
0
18.4M
M
U
C
H
PLN
8A
1995-01
0
M
U
C
H
PLN
8A
1995-02
0
M
U
C
H
PLN
8A
1995-03
0
M
U
C
H
PLN
8A
1995-04
0
M
U
C
H
PLN
8A
1995-05
0
M
U
C
H
PLN
8A
1995-06
0
M
U
C
H
PLN
8A
1995-07
0
M
U
C
H
PLN
8A
1995-08
0
M
U
C
H
PLN
8A
1995-09
0
M
U
C
H
PLN
8A
1995-10
0
M
U
C
H
PLN
8A
1995-11
0
M
U
C
H
PLN
8A
1995-12
0
M
U
C
H
PLN
8A
1996-01
0
M
U
C
H
PLN
8A
1996-02
0
M
U
C
H
PLN
8A
1996-03
0
M
U
C
H
PLN
8A
1996-04
0
M
U
C
H
PLN
8A
1996-05
0
M
U
C
H
PLN
8A
1996-06
0
M
U
C
H
PLN
8A
1996-07
0
M
U
C
H
PLN
8A
1996-08
0
M
U
C
H
PLN
8A
1996-09
0
M
U
C
H
PLN
8A
1996-10
0
M
U
C
H
PLN
8A
1996-11
0
M
U
C
H
PLN
8A
1996-12
0
M
U
C
H
PLN
8A
1997-01
0
M
U
C
H
PLN
8A
1997-02
0
M
U
C
H
PLN
8A
1997-03
0
M
U
C
H
PLN
8A
1997-04
0
M
U
C
H
PLN
8A
1997-05
0
M
U
C
H
PLN
8A
1997-06
0
M
U
C
H
PLN
8A
1997-07
0
M
U
C
H
PLN
8A
1997-08
0
M
U
C
H
PLN
8A
1997-09
0
M
U
C
H
PLN
8A
1997-10
0
M
U
C
H
PLN
8A
1997-11
0
M
U
C
H
PLN
8A
1997-12
0
M
U
C
H
PLN
8A
1998-01
0
M
U
C
H
PLN
8A
1998-02
0
M
U
C
H
PLN
8A
1998-03
0
M
U
C
H
PLN
8A
1998-04
0
M
U
C
H
PLN
8A
1998-05
0
M
U
C
H
PLN
8A
1998-06
0
M
U
C
H
PLN
8A
1998-07
0
M
U
C
H
PLN
8A
1998-08
0
M
U
C
H
PLN
8A
1998-09
0
M
U
C
H
PLN
8A
1998-10
0
M
U
C
H
PLN
8A
1998-11
0
M
U
C
H
PLN
8A
1998-12
0
M
U
C
H
PLN
8A
1999-01
0
M
U
C
H
PLN
8A
1999-02
0
M
U
C
H
PLN
8A
1999-03
0
M
U
C
H
PLN
8A
1999-04
0
M
U
C
H
PLN
8A
1999-05
0
M
U
C
H
PLN
8A
1999-06
0
M
U
C
H
PLN
8A
1999-07
0
M
U
C
H
PLN
8A
1999-08
0
M
U
C
H
PLN
8A
1999-09
0
M
U
C
H
PLN
8A
1999-10
0
M
U
C
H
PLN
8A
1999-11
0
M
U
C
H
PLN
8A
1999-12
0
M
U
C
H
PLN
8A
2000-01
0
M
U
C
H
PLN
8A
2000-02
0
M
U
C
H
PLN
8A
2000-03
0
M
U
C
H
PLN
8A
2000-04
0
M
U
C
H
PLN
8A
2000-05
0
M
U
C
H
PLN
8A
2000-06
0
M
U
C
H
PLN
8A
2000-07
0
M
U
C
H
PLN
8A
2000-08
0
M
U
C
H
PLN
8A
2000-09
0
M
U
C
H
PLN
8A
2000-10
0
M
U
C
H
PLN
8A
2000-11
0
M
U
C
H
PLN
8A
2000-12
0
M
U
C
H
PLN
8A
2001-01
0
M
U
C
H
PLN
8A
2001-02
0
M
U
C
H
PLN
8A
2001-03
0
M
U
C
H
PLN
8A
2001-04
0
M
U
C
H
PLN
8A
2001-05
0
M
U
C
H
PLN
8A
2001-06
0
M
U
C
H
PLN
8A
2001-07
0
M
U
C
H
PLN
8A
2001-08
0
M
U
C
H
PLN
8A
2001-09
0
M
U
C
H
PLN
8A
2001-10
0
M
U
C
H
PLN
8A
2001-11
0
M
U
C
H
PLN
8A
2001-12
0
M
U
C
H
PLN
8A
2002-01
0
M
U
C
H
PLN
8A
2002-02
0
M
U
C
H
PLN
8A
2002-03
0
M
U
C
H
PLN
8A
2002-04
0
M
U
C
H
PLN
8A
2002-05
0
M
U
C
H
PLN
8A
2002-06
0
M
U
C
H
PLN
8A
2002-07
0
M
U
C
H
PLN
8A
2002-08
0
M
U
C
H
PLN
8A
2002-09
0
M
U
C
H
PLN
8A
2002-10
0
M
U
C
H
PLN
8A
2002-11
0
M
U
C
H
PLN
8A
2002-12
0
M
U
C
H
PLN
8A
2003-01
0
M
U
C
H
PLN
8A
2003-02
0
M
U
C
H
PLN
8A
2003-03
0
M
U
C
H
PLN
8A
2003-04
0
End of preview. Expand in Data Studio

BIS Exchange-Traded Derivatives (XTD) Project

This repository contains a complete pipeline to fetch, parse, store, model, and visualise the BIS WS_XTD_DERIV data set.

Data source

Bank for International Settlements (2026), Exchange-traded derivatives statistics, BIS WS_XTD_DERIV 1.0 (data set), https://data.bis.org/topics/XTD_DER/data (accessed on 23 October 2026).

Project layout

exchange_traded_derivatives/
├── data/
│   └── raw/
│       └── bis_xtd_deriv.parquet          # tidy table produced by src/fetch_and_parse.py
├── src/
│   ├── fetch_and_parse.py                 # downloads SDMX‑JSON → parquet
│   └── build_dataset.py                   # builds HF Dataset and pushes to the Hub
├── models/
│   └── train_baseline.py                  # quick Prophet baseline (optional)
├── spaces/
│   └── xtd_dashboard/
│       ├── app.py                         # Gradio dashboard
│       └── requirements.txt
├── requirements.txt                        # root dependencies
└── README.md                               # this file

Quick start

# 1. Install dependencies
pip install -r requirements.txt

# 2. Fetch & parse the BIS data
python src/fetch_and_parse.py

# 3. Create & push the Hugging Face Dataset (requires `hf auth login`)
python src/build_dataset.py

# 4. (Optional) Run a simple Prophet baseline
python models/train_baseline.py

# 5. Launch the Gradio dashboard locally
cd spaces/xtd_dashboard
pip install -r requirements.txt
python app.py

Hugging Face Hub artefacts

  • Dataset – your-username/bis-xtd-deriv (train / test split)
  • Model – your-username/bis-xtd-forecaster (replace with your own model)
  • Space – your-username/bis-xtd-dashboard (interactive Plotly chart)

Replace your-username with your actual Hugging Face user / org name before pushing.

Extending the project

  • Add more MEASURE, INSTRUMENT, or MATURITY codes to the request URL.
  • Pull a longer history by moving startPeriod earlier.
  • Join external macro series (policy rates, FX spot, CPI) for richer conditioning.
  • Replace the Prophet baseline with a 🤗 Transformers TimeSeriesTransformerForPrediction for probabilistic multi‑series forecasting.
Downloads last month
99

Spaces using HugoxBaca/bis-xtd-deriv 2