コード例 #1
0
        public void GetHistoricalIndexDataTest_SymbolDeserializeTest()
        {
            ApiRequest.Debug = true;
            var stock = FinancialData.GetHistoricalIndexData("AAPL").Result;

            Assert.AreEqual("AAPL", stock[0].symbol);
            ApiRequest.Debug = false;
        }
コード例 #2
0
        public void GetHistoricalIndexDataTest_PriceDeserializeTest()
        {
            ApiRequest.Debug = true;
            var stock = FinancialData.GetHistoricalIndexData("AAPL").Result;

            Assert.AreEqual(4, stock.Count);
            ApiRequest.Debug = false;
        }