UKOIL (Brent Crude Oil) Historical Data CSV Free Download
Brent is the international crude benchmark and the reference price for two-thirds of the world’s traded oil. The dataset starts January 2020 — one week before the COVID crash — so you get the pandemic collapse below $20, the historic 2022 spike to $139 after the invasion of Ukraine, the 2022–2023 decline under OPEC+ supply management and the full 2024–2026 cycle, all in one continuous broker feed.
OHLC candles across 9 timeframes.
Nine separate CSV files in one ZIP.
Live dataset, exported 19 October 2026.
Timestamp, Open, High, Low, Close, TickVolume, Spread.
ZIP size, plain uncompressed CSV inside.
MT5 export symbol — rename to match your broker.
UKOIL Historical Data — Timeframe Breakdown
| File | Rows | From | To |
|---|---|---|---|
| UKOILm_PERIOD_M1_OHLC.csv | 100,000 | 2026-06-26 | 2026-10-19 |
| UKOILm_PERIOD_M5_OHLC.csv | 100,750 | 2025-03-20 | 2026-10-19 |
| UKOILm_PERIOD_M15_OHLC.csv | 100,084 | 2022-02-18 | 2026-10-19 |
| UKOILm_PERIOD_M30_OHLC.csv | 72,739 | 2020-01-13 | 2026-10-19 |
| UKOILm_PERIOD_H1_OHLC.csv | 36,398 | 2020-01-13 | 2026-10-19 |
| UKOILm_PERIOD_H4_OHLC.csv | 10,411 | 2020-01-13 | 2026-10-19 |
| UKOILm_PERIOD_D1_OHLC.csv | 1,747 | 2020-01-13 | 2026-10-19 |
| UKOILm_PERIOD_W1_OHLC.csv | 354 | 2020-01-12 | 2026-10-18 |
| UKOILm_PERIOD_MN1_OHLC.csv | 82 | 2020-01-01 | 2026-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
| Column | Meaning | Backtesting Note |
|---|---|---|
| Timestamp | Broker candle open time (server time). | Check the server offset before aligning with NYMEX/ICE session data. |
| Open, High, Low, Close | UKOIL candle prices. | Validate High ≥ max(Open, Close) and Low ≤ min(Open, Close). |
| TickVolume | Broker tick activity inside the candle. | Not exchange volume — use it as an activity proxy. |
| Spread | Recorded broker spread. | Keep it: energy CFDs widen at the daily rollover and around the weekly EIA inventory report. |
How to Use the UKOIL Data
- Download the ZIP and extract the nine CSV files.
- For MT5: import the CSVs into a custom symbol (Market Watch → Symbols → Create Custom Symbol → Import Bars) and run Strategy Tester backtests on the exact series.
- For Python: load with pandas, parse the Timestamp column, sort ascending and build features (returns, range, session flags).
- Run a data-quality pass first: duplicate timestamps, OHLC violations and unexpected gaps are the three checks that catch most bad imports.
- Keep the daily settlement break and weekend gaps in your assumptions — energy CFDs widen spreads at rollover and gap over weekends.
import pandas as pd
df = pd.read_csv("UKOILm_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
UKOIL is listed under several names depending on the broker: UKOIL, BRENT, XBRUSD, BCO, Brent Crude CFD. The dataset works with any of them — rename the files or the custom symbol to match your MT5 Market Watch exactly.
UKOIL Historical Data — FAQ
How far back does the UKOIL data go?
UKOIL data spans Jan 2020 – 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.
What is the difference between UKOIL and USOIL?
UKOIL tracks Brent, the international seaborne benchmark, while USOIL tracks WTI, the US inland benchmark. Brent usually trades at a small premium to WTI; the spread between them is itself a traded market. Both datasets use the same nine-timeframe CSV structure, so you can run the same strategy on each and compare.
Which MT5 symbol name does this dataset use?
The files are exported from the UKOILm symbol (broker “m” suffix). Rename them to match your own broker’s symbol — UKOIL, BRENT, XBRUSD, BCO, Brent Crude CFD. The CSV structure (Timestamp, Open, High, Low, Close, TickVolume, Spread) is identical across brokers.
Can I use this data for MT5 backtesting and machine learning?
Yes. Every file is plain CSV: Timestamp, Open, High, Low, Close, TickVolume, Spread. Energy CFDs trade nearly around the clock on weekdays with a daily settlement break — the series reflects the broker’s real sessions, including spread widening at the daily rollover and the weekend gaps. Load it as an MT5 custom symbol for Strategy Tester runs, or directly in pandas.
Related Datasets
Need an EA Tested on This Data?
We build MT5 Expert Advisors for energy CFDs and validate them on clean datasets like this one — with realistic spread, rollover and gap assumptions.
Choose the next useful step
Most visitors arrive with one question: build, test, price, or trust. These shortcuts keep the path practical.
Go deeper before you build, download or automate
Hand-picked engineering articles, indicator breakdowns and trading-system tools so visitors keep exploring instead of leaving after one page.
Pine Script to MT4/MT5 Conversion Planner
Analyze Pine strategies, repainting risk, TradingView alert bridges, MTF synchronization and the correct MQL4/MQL5 build path before paying for conversion.
Open planner
3-in-1 MT5 Indicator Bundle
12H Bias Engine, Smart Money Institutional Flow Dashboard and D1/H1 pending-signal logic with MQ5 + EX5 source included via Etsy.
MT5 Bank Orders Institutional Flow Dashboard
Supply/demand zones, BOS/CHoCH, liquidity levels, FVG, equal highs/lows and confirmed trade-plan logic explained with EX5 download.
MT5 Asia London NY Liquidity Engine
Asia range, London raid and New York continuation/reversal planning with internal session backtest stats and entry/SL/TP dashboard.
Interactive Brokers RSI Pair Trader
Tkinter desktop trading workflow, TWS API connection handling, RSI pair logic, risk controls and custom IBKR development positioning.
XAUUSD M30 CSV Data For Backtesting
Use clean MT5 historical data for Python backtests, strategy validation, spread checks and realistic gold EA research workflows.