Пример #1
0
        public MainController()
        {
            string ApiUrl = ConfigurationManager.AppSettings["APIURL"].ToString();

            DataServiceAPI.Initialize(ApiUrl);
            IBPort            = Convert.ToInt32(ConfigurationManager.AppSettings["IBPort"]);
            MDPort            = Convert.ToInt32(ConfigurationManager.AppSettings["MDPort"]);
            IBId              = Convert.ToInt32(ConfigurationManager.AppSettings["IBId"]);
            MDId              = Convert.ToInt32(ConfigurationManager.AppSettings["MDId"]);
            MktSummaryTickers = new List <MktData>();
        }
Пример #2
0
        public HomeController()
        {
            string ApiUrl = ConfigurationManager.AppSettings["APIURL"].ToString();

            DataServiceAPI.Initialize(ApiUrl);
        }