public void GetMarketDepthTest() { var pair = "CETBTC"; var ticker = _repo.GetMarketDepth(pair).Result; Assert.NotNull(ticker); }
/// <summary> /// Get Market depth for a trading pair /// </summary> /// <param name="pair">String of trading pair</param> /// <param name="merge">Decimal places</param> /// <param name="limit">Return amount</param> /// <returns>MarketDepth object</returns> public MarketDepth GetMarketDepth(string pair, Merge merge = Merge.Zero, Limit limit = Limit.Twenty) { return(_repository.GetMarketDepth(pair, merge, limit).Result); }