Exemple #1
0
        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);
        }
Exemple #2
0
        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);
        }