public void PostLimitOrderTest() { var pair = "CETBTC"; var type = OrderType.BUY; var amount = 300M; var price = 0.0000132M; var order = _repo.LimitOrder(pair, type, amount, price).Result; Assert.NotNull(order); }
/// <summary> /// Post Limit Order /// </summary> /// <param name="pair">Trading pair</param> /// <param name="type">Trade type</param> /// <param name="amount">Trade amount</param> /// <param name="price">Trade price</param> /// <returns>Order object</returns> public Order LimitOrder(string pair, OrderType type, decimal amount, decimal price) { return(_repository.LimitOrder(pair, type, amount, price).Result); }