public void realtime_multiple_valid_symbols_return_result() { using var client = new EODHistoricalDataClient(Consts.ApiToken, true); var prices = client.GetRealTimePrices(Consts.MultipleTestSymbol); Assert.IsNotNull(prices); Assert.IsTrue(prices.Count == Consts.MultipleTestSymbol.Length); }
public void realtime_empty_list_throws_exception() { using var client = new EODHistoricalDataClient(Consts.ApiToken); var prices = client.GetRealTimePrices(new string[] { }); }
public void realtime_null_list_throws_exception() { EODHistoricalDataClient client = new EODHistoricalDataClient(Consts.ApiToken); List <RealTimePrice> prices = client.GetRealTimePrices(null); }
public void realtime_list_with_null_element_throws_exception() { EODHistoricalDataClient client = new EODHistoricalDataClient(Consts.ApiToken); List <RealTimePrice> prices = client.GetRealTimePrices(new string[] { null }); }