Logo
Reference manual - version orea_version
Public Member Functions | Public Attributes | List of all members
MarketRiskBacktest::BacktestArgs Struct Reference

Public Member Functions

 BacktestArgs (ore::data::TimePeriod btPeriod, ore::data::TimePeriod bmPeriod, QuantLib::Real conf=0.99, QuantLib::Real exThres=0.01, bool tdc=false, const std::set< std::string > &callTradeIds={}, const std::set< std::string > &postTradeIds={})
 

Public Attributes

ore::data::TimePeriod backtestPeriod_
 Time period over which to perform the backtest.
 
ore::data::TimePeriod benchmarkPeriod_
 Time period over which to calculate the benchmark VAR.
 
QuantLib::Real confidence_
 Confidence level in the SIMM backtest.
 
QuantLib::Real exceptionThreshold_
 Amount by which absolute P&L value must exceed 0 for exception counting.
 
bool tradeDetailIncludeAllColumns_ = false
 
std::set< std::string > callTradeIds_ = {}
 Call side trade IDs to be considered in the backtest. Other trades' PnLs will be removed from the total PnL.
 
std::set< std::string > postTradeIds_ = {}
 Post side trade IDs to be considered in the backtest. Other trades' PnLs will be removed from the total PnL.
 
std::vector< QuantLib::Real > ragLevels_ = {0.95, 0.9999}
 Confidence levels that feed in to defining the stop light bounds.