public void PlaceMarketOrder_Test1() { var side = SIDE.SELL; var pair = "BTCUSD"; var size = 0.5M; // act var order = _repoAuth.PlaceMarketOrder(side, pair, size).Result; // assert Assert.NotNull(order); }
/// <summary> /// Place a basic market order trade /// </summary> /// <param name="side">Buy or sell</param> /// <param name="pair">Trading pair</param> /// <param name="size">Size of trade</param> /// <returns>OrderResponse object</returns> public OrderResponse PlaceMarketOrder(SIDE side, string pair, decimal size) { return(_repository.PlaceMarketOrder(side, pair, size).Result); }