コード例 #1
0
        public void realtime_valid_symbol_return_result()
        {
            EODHistoricalDataClient client = new EODHistoricalDataClient(Consts.ApiToken, true);
            RealTimePrice           price  = client.GetRealTimePrice(Consts.TestSymbol);

            Assert.IsNotNull(price);
        }
コード例 #2
0
 public void realtime_null_symbol_throws_exception()
 {
     EODHistoricalDataClient client = new EODHistoricalDataClient(Consts.ApiToken);
     RealTimePrice           prices = client.GetRealTimePrice(null);
 }