Coinio/Bittrex.Api.Client

OrderType is null after deserializing in GetOrder

Closed this issue · 1 comments

In Bittrex.Api.Client.Models.HistoricAccountOrder the field name is "OrderType", but inside the json response from the exchange it's just "Type".
For this reason JsonConvert.DeserializeObject doesn't assign the value of this field.
(line 306, BittrexClient.cs)

I renamed "OrderType" to "Type" in HistoricAccountOrder and it worked!

Thanks. This should be fixed now thanks to grepsy.