Esempio n. 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);
        }
Esempio n. 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);
        }