Exemplo n.º 1
0
        public async Task PrepareDailyReminder()
        {
            var magicBoxes = await decisionProcessor.GetTodayMagicBoxOrders();

            foreach (var order in magicBoxes)
            {
                scheduler.Schedule(order);
            }
        }
Exemplo n.º 2
0
        public async Task PrepareDailyReminder()
        {
            var magicBoxes = await _decisionProcessor.GetTodayMagicBoxOrders();

            foreach (var order in magicBoxes)
            {
                Console.WriteLine("Scheduled : {0} @ {1}", order.Symbol, order.ExecutingTime);
                _scheduler.Schedule(order);
            }
        }