Live trade history
- Open cTrader Desktop.
- Bottom
Trade Watchpanel → switch to theHistorytab. - Set your time range (top-left date picker).
- Right-click anywhere in the table →
Export to CSV. - Drag the resulting CSV onto Klyne. Column names like
Position ID, Volume (lots), Entry Price, Exit Price, Net P&Lare auto-recognized.
cBot backtest results
- cTrader main menu →
Automate→ open your cBot. - Run a Backtest (turn off Visual Mode for speed).
- When done →
Historytab → right-click →Export to CSV.
Note: cTrader timestamps are in broker server time, not your local time. Times match what you see on the chart but might differ from UTC by a few hours depending on your broker.
OHLCV data
cTrader has no direct OHLC export. Use Dukascopy / TradingView paid / TwelveData API — or write a one-off cBot to dump bars to CSV:
// cBot: dumps 1 year of H1 bars on start, then stops
protected override void OnStart() {
var bars = MarketData.GetBars(TimeFrame.Hour, "EURUSD");
using (var sw = File.CreateText("eurusd_h1.csv")) {
sw.WriteLine("timestamp,open,high,low,close,volume");
for (int i = bars.Count - 8760; i < bars.Count; i++) {
sw.WriteLine($"{bars.OpenTimes[i]:yyyy-MM-ddTHH:mm:ssZ},{bars.OpenPrices[i]},{bars.HighPrices[i]},{bars.LowPrices[i]},{bars.ClosePrices[i]},{bars.TickVolumes[i]}");
}
}
Stop();
}