Exemple #1
0
        public void GetResponse()
        {
            if (Exchange.IsNullOrWhiteSpace() || Symbol.IsNullOrWhiteSpace())
            {
                return;
            }

            Console.Write("\r{0} | {1} of {2} | {3} | {4}", DateTime.UtcNow.Ticks, Index, Total, Exchange, Symbol);

            Response = Traffic.HTTPGET(Url);
            Schema   = JsonHelper.ProcessJsonSchema(Response);
            Model    = JsonConvert.DeserializeObject <StockData>(Response);
        }