public void GetOpenOrdersTest() { var pair = "CETBTC"; var orders = _repo.GetOpenOrders(pair).Result; Assert.NotNull(orders); }
/// <summary> /// Get Open 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 OpenOrder array</returns> public PagedResponse <OpenOrder[]> GetOpenOrders(string pair, int page = 1, int limit = 100) { return(_repository.GetOpenOrders(pair, page, limit).Result); }