public void GetOrders_Test()
        {
            // arrange
            var pair = "BTCUSD";

            // act
            var orders = _repoAuth.GetOrders(pair).Result;

            // assert
            Assert.NotNull(orders);
        }
示例#2
0
 /// <summary>
 /// Get all open orders
 /// </summary>
 /// <returns>OrderResponse array</returns>
 public OrderResponse[] GetOrders()
 {
     return(_repository.GetOrders().Result);
 }