ResultCreateOrderResponse
Erwin1989 opened this issue · comments
Issue Overview
Hi,
I am trying to do the following:
async Task SaleCrypto(string namecrypto)
{
var request = (new CreateOrderRequest()
{
Quantity = 1,
Side = OrderSide.Sell,
Symbol = namecrypto,
Type = OrderType.Market,
NewOrderResponseType = NewOrderResponseType.Full,
});
var result = client.CreateOrder(request);
while (!result.IsCompleted)
{
await Task.Delay(100);
}
I want to get the status "var status = result.Result.Status". The response is BaseCreateOrderResponse and i need the ResultCreateOrderResponse this is giving me a error at the moment.
How can i fix this?
Thanx for helping!