Stop 6 of 6 Data export
How to Export Historical Deriv Candles to CSV
Export candles from a supported Deriv browser chart and verify the symbol, timeframe, timestamps, and prices.
Gather six price updates and see how the same history fits into different candle intervals.
For a spreadsheet export, open a supported Deriv browser chart in Chrome and use CandleTrek’s Export data workspace. For a repeatable data integration, Deriv also documents an API that returns historical ticks or candles. In either workflow, record the exact symbol, timeframe, and actual date range returned. Deriv’s historical data documentation
Export from a Deriv chart in the browser
- Open the Deriv browser chart or another supported Deriv chart in Chrome. Pick the symbol and timeframe you want. This Chrome workflow applies to browser charts. A standalone MT5 terminal has its own workflow.
- Open the CandleTrek side panel and sign in. Wait until the panel recognizes the chart and shows available candle data.
- Select Export data, set the format to CSV, and choose This timeframe to start with a single interval.
- Choose Everything loaded or a date range and check the coverage. If the loaded range starts later than you need, you can try loading more history on the chart, then check the range again.
- Select Export. Open the file and check its first and last timestamp before using it. Keep an eye on the setting for the newest candle if it is still forming.
Check the file before comparing results
A candle summarizes a specific interval. Verify the symbol and that successive opening times match the timeframe for the part of the file you plan to analyze. Two products with similar labels can have different histories. Compare the time zone before joining files, check for duplicate timestamps, and investigate gaps using the schedule for that instrument.
Download the synthetic candle sample to see CandleTrek’s CSV format. It includes a numeric time, a readable UTC timestamp, and the open, high, low, close, and volume columns. The sample was generated for these guides. Get market candles from your own export for a study of a Deriv instrument.
When to use Deriv’s API
For automated collection or a repeatable query, Deriv’s ticks_history endpoint documents candle responses using style: "candles" and an interval in seconds through granularity. Its request fields let you scope the requested history. Check limits and permissions in the current documentation and verify the first and last returned candle. Deriv’s ticks history reference
Group the same ticks into different candles
Switch to five minutes. Count the candle rows and compare their prices with the six ticks.
The example uses six generated price updates in UTC. 00:00:08 → 100.2, 00:00:43 → 100.8, 00:01:09 → 100.5, 00:02:52 → 99.9, 00:03:31 → 100.4, and 00:04:45 → 101.1.
With granularity: 60, use one row per minute.
| UTC start | Open | High | Low | Close |
|---|
A note about Deriv synthetic indices
Deriv describes its synthetic indices as generated instruments, with many available around the clock. Use the symbol’s schedule when checking timestamps. Patterns observed in the exported history describe that sample. Deriv notes that these products are generated by a random number generator. Deriv’s description of synthetic indices
For an export on TradingView, see the TradingView CSV guide. If you already have a checked file, follow the backtesting walkthrough for a worked example.
Trail check
Answer one question to earn Timeframe Explorer.
How many five-minute candles do the six sample ticks produce?
How many five-minute candles do the six sample ticks produce?
All six ticks land in the same five-minute interval, so they form a single candle.
Timeframe Explorer earned
All six ticks land in the same five-minute interval, so they form a single candle.
Find your next stop