public void GetOrdersTest()
        {
            var pair   = "CETBTC";
            var orders = _repo.GetOrders(pair).Result;

            Assert.NotNull(orders);
        }
Beispiel #2
0
 /// <summary>
 /// Get completed orders
 /// </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 Order array</returns>
 public PagedResponse <Order[]> GetOrders(string pair, int page = 1, int limit = 100)
 {
     return(_repository.GetOrders(pair, page, limit).Result);
 }