Profile Picture

How can I get the "trade list" in "class OptimizationResult"?

Posted By whunio 3 Years Ago

How can I get the "trade list" in "class OptimizationResult"?

Message
Posted Monday June 30 2014
How can I get the "trade list" in "class OptimizationResult"?
Posted Monday June 30 2014
First you need to load the full system results:

SystemResults results = SystemResults.Load(optimizationResult.ResultsFile);

Then get the PositionManager from the results:

PositionManager positionManager = results.Data.PositionManager;

Then you can get the position list from the position manager, and each position has a list of trades.

Thanks,
Daniel

Posted Monday June 30 2014
Thanks. Another question is how to use one strategy on multi-bar frequency and multi-symbol.


Similar Topics


Reading This Topic


2005-2017 © RightEdge Systems