public void GetMarketHistoryTest() { var pair = "BTC-XLM"; var marketHistory = _repo.GetMarketHistory(pair).Result; Assert.NotNull(marketHistory); }
/// <summary> /// Get the latest trades that have occured for a specific market. /// </summary> /// <param name="pair">Trading pair</param> /// <param name="type">Type of orderbook to return (default = both)</param> /// <returns>Array of MarketHistory objects</returns> public MarketHistory[] GetMarketHistory(string pair) { return(_repository.GetMarketHistory(pair).Result); }