public void GetTicker_Test() { // arrange var pair = "BTCUSD"; // act var ticker = _repo.GetTicker(pair).Result; // assert Assert.NotNull(ticker); }
/// <summary> /// Get current ticker for a pair /// </summary> /// <returns>Ticker object</returns> public Ticker GetTicker(string pair) { return(_repository.GetTicker(pair).Result); }