Lean
$LEAN_TAG$
|
The AlgorithmPerformance class is a wrapper for TradeStatistics and PortfolioStatistics More...
Public Member Functions | |
AlgorithmPerformance (List< Trade > trades, SortedDictionary< DateTime, decimal > profitLoss, SortedDictionary< DateTime, decimal > equity, SortedDictionary< DateTime, decimal > portfolioTurnover, List< double > listPerformance, List< double > listBenchmark, decimal startingCapital, int winningTransactions, int losingTransactions, IRiskFreeInterestRateModel riskFreeInterestRateModel, int tradingDaysPerYear) | |
Initializes a new instance of the AlgorithmPerformance class More... | |
AlgorithmPerformance () | |
Initializes a new instance of the AlgorithmPerformance class More... | |
Properties | |
TradeStatistics | TradeStatistics [get, set] |
The algorithm statistics on closed trades More... | |
PortfolioStatistics | PortfolioStatistics [get, set] |
The algorithm statistics on portfolio More... | |
List< Trade > | ClosedTrades [get, set] |
The list of closed trades More... | |
The AlgorithmPerformance class is a wrapper for TradeStatistics and PortfolioStatistics
Definition at line 25 of file AlgorithmPerformance.cs.
QuantConnect.Statistics.AlgorithmPerformance.AlgorithmPerformance | ( | List< Trade > | trades, |
SortedDictionary< DateTime, decimal > | profitLoss, | ||
SortedDictionary< DateTime, decimal > | equity, | ||
SortedDictionary< DateTime, decimal > | portfolioTurnover, | ||
List< double > | listPerformance, | ||
List< double > | listBenchmark, | ||
decimal | startingCapital, | ||
int | winningTransactions, | ||
int | losingTransactions, | ||
IRiskFreeInterestRateModel | riskFreeInterestRateModel, | ||
int | tradingDaysPerYear | ||
) |
Initializes a new instance of the AlgorithmPerformance class
trades | The list of closed trades |
profitLoss | Trade record of profits and losses |
equity | The list of daily equity values |
portfolioTurnover | The algorithm portfolio turnover |
listPerformance | The list of algorithm performance values |
listBenchmark | The list of benchmark values |
startingCapital | The algorithm starting capital |
winningTransactions | Number of winning transactions |
losingTransactions | Number of losing transactions |
riskFreeInterestRateModel | The risk free interest rate model to use |
tradingDaysPerYear | The number of trading days per year |
Definition at line 56 of file AlgorithmPerformance.cs.
QuantConnect.Statistics.AlgorithmPerformance.AlgorithmPerformance | ( | ) |
Initializes a new instance of the AlgorithmPerformance class
Definition at line 79 of file AlgorithmPerformance.cs.
|
getset |
The algorithm statistics on closed trades
Definition at line 30 of file AlgorithmPerformance.cs.
|
getset |
The algorithm statistics on portfolio
Definition at line 35 of file AlgorithmPerformance.cs.
|
getset |
The list of closed trades
Definition at line 40 of file AlgorithmPerformance.cs.