public TradingModel( IStatisticsService statisticsService, IForexMarketService forexMarketService, IForexTradingAgentService forexTradingAgentService, IForexTradingService forexTradingService) { _statisticsService = statisticsService; _forexMarketService = forexMarketService; _forexTradingAgentService = forexTradingAgentService; _forexTradingService = forexTradingService; _months = new List<string>(); for (var i = 1; i <= 12; i++) { _months.Add(string.Format("{0:00}", i)); } StatisticsSequences = new Dictionary<MonthPeriodKey, List<StatisticsSequenceDto>>(); }
public TradingModel( IStatisticsService statisticsService, IForexMarketService forexMarketService, IForexTradingAgentService forexTradingAgentService, IForexTradingService forexTradingService) { _statisticsService = statisticsService; _forexMarketService = forexMarketService; _forexTradingAgentService = forexTradingAgentService; _forexTradingService = forexTradingService; _months = new List <string>(); for (var i = 1; i <= 12; i++) { _months.Add(string.Format("{0:00}", i)); } StatisticsSequences = new Dictionary <MonthPeriodKey, List <StatisticsSequenceDto> >(); }