TradeBench 1.0.0
Algorithmic Trading Backtesting Platform
Loading...
Searching...
No Matches
Data Fields
BacktestResult Struct Reference

Structure to hold the advanced result of a backtest simulation. More...

#include <tradebench_core.h>

Data Fields

double profit
 
int trades_count
 
double win_rate
 
double max_drawdown
 
std::vector< double > equity_curve
 
std::vector< int > buy_signals
 
std::vector< int > sell_signals
 
std::vector< long long > timestamps
 

Detailed Description

Structure to hold the advanced result of a backtest simulation.

Field Documentation

◆ buy_signals

std::vector<int> BacktestResult::buy_signals

◆ equity_curve

std::vector<double> BacktestResult::equity_curve

◆ max_drawdown

double BacktestResult::max_drawdown

◆ profit

double BacktestResult::profit

◆ sell_signals

std::vector<int> BacktestResult::sell_signals

◆ timestamps

std::vector<long long> BacktestResult::timestamps

◆ trades_count

int BacktestResult::trades_count

◆ win_rate

double BacktestResult::win_rate

The documentation for this struct was generated from the following file: