public void CancelOrder_Test() { var id = "2852d1cf-ad53-46b8-870e-cfe1ffcb0fde"; // act var order = _repoAuth.CancelOrder(id).Result; // assert Assert.NotNull(order); }
/// <summary> /// Cancel an open order /// </summary> /// <param name="id">Order Id</param> /// <returns>Boolean result of cancel request</returns> public bool CancelOrder(string id) { return(_repository.CancelOrder(id).Result); }