mjj38
- ago
Is there a helper class that calculates the metrics of a list of positions?

For example:
OptimizationResult = CalcMetrics(List<Positions> plist);
0
229
Solved
3 Replies

Reply

Bookmark

Sort
Glitch8
 ( 8.31% )
- ago
#1
Metrics are calculated by ScoreCards. Some of them are based on Position lists, but others are based on other things like the equity curve, drawdown, etc.

They're calculated in the ScoreCard's Intialize method, and it takes as a parameter an instance of the Backtester class which has the relevant information in its properties.

The metrics are calculated and assigned to the Backtester class instance's Metric dynamic property.

TLDR - no there's no helper methods.
1
Best Answer
- ago
#2
On a related note, StrategyRunner: https://www.wealth-lab.com/Support/ApiReference/StrategyRunner
0
mjj38
- ago
#3
Thank you. That is very helpful!
0

Reply

Bookmark

Sort