Пример #1
0
        public void GetMarketSummaryTest()
        {
            var pair = "BTC-XLM";

            var marketSummary = _repo.GetMarketSummary(pair).Result;

            Assert.NotNull(marketSummary);
        }
Пример #2
0
 /// <summary>
 /// Get the last 24 hour summary of a market
 /// </summary>
 /// <param name="pair">Trading pair</param>
 /// <returns>MarketSummary object</returns>
 public MarketSummary GetMarketSummary(string pair)
 {
     return(_repository.GetMarketSummary(pair).Result);
 }