Free learning tools Test your finance and trading knowledge before you build, buy, or automate.
FREE CRYPTO DATASET — MT5 / PYTHON READY

BTCTHB (Bitcoin / Thai Baht) Historical Data CSV Free Download

Bitcoin in Thai baht — Thailand runs one of the most active retail crypto markets in Asia. February 2021 onward, covering the full 2021 bull, the 2022 bear and the 2024–2026 cycle with intraday detail down to M30. For emerging-market currency studies, this cross pairs BTC volatility with THB dynamics that rarely appear in free datasets.

463,184

OHLC candles across 9 timeframes.

M1 → MN1

Nine separate CSV files in one ZIP.

Feb 2021 – Oct 2026

Live dataset, exported 19 October 2026.

CSV

Timestamp, Open, High, Low, Close, TickVolume, Spread.

8.44 MB

ZIP size, plain uncompressed CSV inside.

BTCTHBm

MT5 export symbol — rename to match your broker.

BTCTHB Historical Data — Timeframe Breakdown

FileRowsFromTo
BTCTHBm_PERIOD_M1_OHLC.csv100,0002026-08-102026-10-19
BTCTHBm_PERIOD_M5_OHLC.csv100,0002025-11-052026-10-19
BTCTHBm_PERIOD_M15_OHLC.csv100,4902023-12-032026-10-19
BTCTHBm_PERIOD_M30_OHLC.csv98,6152021-02-282026-10-19
BTCTHBm_PERIOD_H1_OHLC.csv49,3202021-02-282026-10-19
BTCTHBm_PERIOD_H4_OHLC.csv12,3372021-02-282026-10-19
BTCTHBm_PERIOD_D1_OHLC.csv2,0582021-02-282026-10-19
BTCTHBm_PERIOD_W1_OHLC.csv2952021-02-282026-10-18
BTCTHBm_PERIOD_MN1_OHLC.csv692021-02-012026-10-01

M1, M5 and M15 contain the most recent 100,000 candles (the MetaTrader 5 terminal window). M30 and above carry the full broker history since .

CSV Columns Explained

ColumnMeaningBacktesting Note
TimestampBroker candle open time (server time).Crypto runs 24/7 — check the server offset before aligning with another exchange feed.
Open, High, Low, CloseBTCTHB candle prices.Validate High ≥ max(Open, Close) and Low ≤ min(Open, Close).
TickVolumeBroker tick activity inside the candle.Not exchange volume — use it as a liquidity and activity proxy.
SpreadRecorded broker spread.Keep it: crypto CFDs widen at daily rollover and on weekends.

How to Use the BTCTHB Data

  1. Download the ZIP and extract the nine CSV files.
  2. For MT5: import the CSVs into a custom symbol (Market Watch → Symbols → Create Custom Symbol → Import Bars) — this works for live and delisted symbols alike — or use them for offline analysis.
  3. For Python: load with pandas, parse the Timestamp column, sort ascending and build features (returns, range, session flags).
  4. Run a data-quality pass first: duplicate timestamps, OHLC violations and unexpected gaps are the three checks that catch most bad imports.
  5. Remember crypto trades weekends — treat weekend candles as real liquidity, not as noise, when calibrating stops.
import pandas as pd

df = pd.read_csv("BTCTHBm_PERIOD_M30_OHLC.csv")
df["Timestamp"] = pd.to_datetime(df["Timestamp"])
df = df.sort_values("Timestamp").set_index("Timestamp")

df["range"] = df["High"] - df["Low"]
df["body"]  = (df["Close"] - df["Open"]).abs()
df["ret"]   = df["Close"].pct_change()

print(df.tail())
print(df[["range", "body", "TickVolume", "Spread"]].describe())

Also Known As

BTCTHB is listed under several names depending on the broker: BTCTHB, BTC/THB, Bitcoin in baht. The dataset works with any of them — rename the files or the custom symbol to match your MT5 Market Watch exactly.

BTCTHB Historical Data — FAQ

How far back does the BTCTHB data go?

BTCTHB data spans Feb 2021 – Oct 2026 overall. M30, H1, H4, D1, W1 and MN1 hold the full broker history; M1, M5 and M15 contain the most recent 100,000 candles each (the MT5 terminal window). All files end with the latest bar at export time — 19 October 2026.

Which MT5 symbol name does this dataset use?

The files are exported from the BTCTHBm symbol (broker “m” suffix). Rename them to match your own broker’s symbol — BTCTHB, BTC/THB, Bitcoin in baht. The CSV structure (Timestamp, Open, High, Low, Close, TickVolume, Spread) is identical across brokers.

What is this cross useful for?

Cross pairs like BTCTHB show bitcoin’s performance in another unit of account. They are used for relative-strength studies (is BTC outperforming the currency or metal?), correlation work against the underlying FX pair, and diversifying a strategy book away from pure USD crypto beta. The CSV format matches every other AlgoSpecial dataset.

Related Crypto Datasets

Need an EA Tested on This Data?

We build MT5 Expert Advisors for crypto CFDs and validate them on clean datasets like this one — with realistic spread and 24/7 session assumptions.

Build an EA Get Custom Data
🚀 Invite friends — Earn $5 You both get $5 credit on Go Ad · opencode.ai AI-Powered Coding Agent — Try Free Build apps, fix bugs & ship faster with opencode. Get $5 free credit when you join. × Ad · quo.com QuoPhone — $20 Visa Gift Card Free Sign up to Quo, subscribe 3 months, get a $20 Visa gift card. Atif's referral gift for you. ×