public void StatsClientSectionHistoricalTest() { var client = new BitfinexRestClient(); var stats = client.GetStats(Key.TotalOpenPosition, Symbol.BTCUSD, Side.Long, Section.Historical, SortDirection.OldestToNewest); Assert.IsTrue(stats.Count > 1); }
public void StatsClientSectionLastTest() { var client = new BitfinexRestClient(); var stats = client.GetStats(Key.TotalOpenPosition, Symbol.BTCUSD, Side.Long, Section.Last, SortDirection.OldestToNewest); Assert.AreEqual(1, stats.Count); }