Пример #1
0
        public void Run()
        {
            //BackTest on real history data
            BackTest test = new BackTest();

            int limit = 50;

            for (var i = 0; i < limit; i++)
            {
                test.RealDataTest();
            }
        }
Пример #2
0
        static void Main(string[] args)
        {
            //BackTest on real history data
            BackTest test = new BackTest();

            test.RealDataTest();

            //SmokeTesting smoke = new SmokeTesting();
            //smoke.Run();

            //Import History data to db
            //FileReader historydata = new FileReader();
            //historydata.readtxt();

            //Retrieve real time data from API
            //RealData api = new RealData();
            //api.getData();

            //Run scheduler
            //Scheduler run = new Scheduler();
            //run.Schedule();

            //BackTest test = new BackTest();
            //test.ParseTest();

            // Real time program

            //BrowserTest test = new BrowserTest();
            //test.run();
            //try
            //{
            //    BrowserTest test = new BrowserTest();
            //    test.run();
            //}
            //catch (Exception ex)
            //{
            //    Logger.Out(ex.Message);
            //    EmailClient.Sending(ex.Message);
            //    //Alert warning = new Alert();
            //    //warning.Sound();
            //}

            //MongoDAO db = new MongoDAO();
            //db.updateStopLoss();

            //HistoryParse.parse();

            //Redirect.Write();


            Console.ReadKey();
        }