Exemplo n.º 1
0
        public void GetOpenInterestStatisticTest()
        {
            try
            {
                ois = market.GetOpenInterestStatistics("BTCUSDT", "5m");

                Test();
                Assert.AreEqual(30, ois.Count);
            }
            catch (ErrorMessageException e)
            {
                Tools.OnThrowErrorMessageException(e);
            }
        }
Exemplo n.º 2
0
        public void GetOpenInterestStatisticTest()
        {
            try
            {
                ois = market.GetOpenInterestStatistics("BTCUSDT", "5m");

                Test();
                Assert.AreEqual(30, ois.Count);
            }
            catch (ErrorMessageException e)
            {
                Assert.Fail(e.Code + " - " + e.Message);
            }
        }