CSV report
All plugins

Plugin libraryReports

Plugin

CSV report

Writes a finished backtest as one CSV file: the headline statistics, then every trade.

ExporterNo networkDesktop onlyv1.0.0

About

An exporter takes a finished result and turns it into a file. This one writes a short header (instrument, timeframe, seed), the statistics as name and value rows, and the trade log with one column per trade field.

It is also the smallest example of an exporter plugin: one function that receives the result as plain data and returns the path it wrote.

Configuration

FieldTypeDefaultDescription
fileNameReport file namestring"backtest_report"The start of the file name; the run's seed is added, and the file ends in .csv.

Use it in a strategy

Not called from a strategy: after a run, choose it in the result's export menu. Exports are part of the plans that include CSV export.

What it provides

exports/backtest_report_<seed>.csvFileA CSV file in the exports folder of the data cache.

Limits

  • Plain CSV with a comma; a spreadsheet set to a German locale may need the import dialog.
OrionQuant