As the question says, I would like to export manually or programmatically all the metrics after performing a backtest. This would include all the trades taken as well.
How do I go about this?
    
    
    
    
    How do I go about this?
        Rename
    
        Can you tell us why you'd want to do it? I'm asking because there may be a more straightforward way to reach your goal. For example:
1. Compare two backtests? This tool can do it:
https://www.wealth-lab.com/extension/detail/finantic.ScoreCard#screenshots
2. Export signals and/or publish trades? Another tool for this purpose is:
https://www.wealth-lab.com/extension/detail/finantic.Publisher
    
1. Compare two backtests? This tool can do it:
https://www.wealth-lab.com/extension/detail/finantic.ScoreCard#screenshots
2. Export signals and/or publish trades? Another tool for this purpose is:
https://www.wealth-lab.com/extension/detail/finantic.Publisher
        Right click, copy and paste works too.
    
    
        And since topic starter expressed interest in programmatic export of backtest results, here's helper class that makes it easier to run backtests from Strategy code - the StrategyRunner:
https://www.wealth-lab.com/Support/ApiReference/StrategyRunner
It returns an instance of Backtester class with all equity curve and performance data objects:
https://www.wealth-lab.com/Support/ApiReference/Backtester
    
https://www.wealth-lab.com/Support/ApiReference/StrategyRunner
It returns an instance of Backtester class with all equity curve and performance data objects:
https://www.wealth-lab.com/Support/ApiReference/Backtester
        That might be helpful. Thanks for the responses! I will check things out
    
    
            Your Response
            
            Post
        
        
        
    
            Edit Post
            
        
        
        
    
            Login is required