Exemple #1
0
        public static void Main()
        {
            //SchedulerManager.Instance.Initialize();

            IocConfigurator.Configure();

            AutoMapperBusinessLogicConfigurator.Configure();
            IMarketDataPopulatorService marketDataPopulatorService = ObjectFactory.GetInstance <IMarketDataPopulatorService>();

            //foreach (var i in stockConfiguration)
            //{

            //    marketDataPopulatorService.PopulateStockOptionQuotes(((System.Configuration.ConfigurationProperty)i).DefaultValue.ToString());
            //}

            //marketDataPopulatorService.PopulateRealTimeQuotes();
            marketDataPopulatorService.PopulateRealTimeQuotes();

            //marketDataPopulatorService.PopulateRealtimeStocksQuotes();
            //marketDataPopulatorService.ErasePerMinutesQuotes();
            //marketDataPopulatorService.PopulateLatestStockQuotesToHistoricalQuotesPerDay();
            //ITradeIdeaService tradeIdeaService = ObjectFactory.GetInstance<ITradeIdeaService>();
            //tradeIdeaService.StoreTradeIdeasInDb();


            //MarketDataPopulationService.Instance.Start();
        }
Exemple #2
0
        public SchedulerManager()
        {
            IocConfigurator.Configure();

            AutoMapperBusinessLogicConfigurator.Configure();
        }