public void PlaceLimitOrder_Test1()
        {
            var side  = SIDE.SELL;
            var pair  = "BTCUSD";
            var price = 7500.00M;
            var size  = 0.5M;

            // act
            var order = _repoAuth.PlaceLimitOrder(side, pair, price, size).Result;

            // assert
            Assert.NotNull(order);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Place a basic limit order trade
 /// </summary>
 /// <param name="side">Buy or sell</param>
 /// <param name="pair">Trading pair</param>
 /// <param name="price">Trading price</param>
 /// <param name="size">Amount in trade</param>
 /// <returns>OrderResponse object</returns>
 public OrderResponse PlaceLimitOrder(SIDE side, string pair, decimal price, decimal size)
 {
     return(_repository.PlaceLimitOrder(side, pair, price, size).Result);
 }