예제 #1
0
        public bool WriteReport(string name, string folder, StrategyStats strategyStats)
        {
            EquityStatsReport equityStats = new EquityStatsReport(this);

            equityStats.StrategyStats = strategyStats;
            equityStats.WriteReport(name, folder);
            return(true);
        }
예제 #2
0
        public bool WriteReport(string name, string folder)
        {
            name = name.StripInvalidPathChars();
            TradeStatsReport tradeStats = new TradeStatsReport(this);

            tradeStats.WriteReport(name, folder);
            StrategyStats stats = new StrategyStats(ComboTrades);

            Equity.WriteReport(name, folder, stats);
            IndexForReport index = new IndexForReport(this);

            index.WriteReport(name, folder);
            return(true);
        }