public bool WriteReport(string name, string folder, StrategyStats strategyStats) { EquityStatsReport equityStats = new EquityStatsReport(this); equityStats.StrategyStats = strategyStats; equityStats.WriteReport(name, folder); return(true); }
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); }