예제 #1
0
        public void realtime_valid_symbol_return_result()
        {
            using var client = new EODHistoricalDataClient(Consts.ApiToken, true);
            var price = client.GetRealTimePrice(Consts.TestSymbol);

            Assert.IsNotNull(price);
        }
예제 #2
0
 public void realtime_null_symbol_throws_exception()
 {
     using var client = new EODHistoricalDataClient(Consts.ApiToken);
     var prices = client.GetRealTimePrice(null);
 }