public void GetUserDealsTest()
        {
            var pair  = "CETBTC";
            var deals = _repo.GetUserDeals(pair).Result;

            Assert.NotNull(deals);
        }
Example #2
0
 /// <summary>
 /// Get user deals
 /// </summary>
 /// <param name="pair">Trading pair</param>
 /// <param name="page">Page number (default = 1)</param>
 /// <param name="limit">Number of order to return (default = 100, max = 100)</param>
 /// <returns>PagedResponse with Deal array</returns>
 public PagedResponse <Deal[]> GetUserDeals(string pair, int page = 1, int limit = 100)
 {
     return(_repository.GetUserDeals(pair, page, limit).Result);
 }