JKorf / OKX.Net

A C# .netstandard client library for the OKX REST and Websocket Spot and Futures API focusing on clear usage and models
https://jkorf.github.io/OKX.Net/
MIT License
32 stars 16 forks source link

error from GetAlgoOrderAsync #18

Closed dante1989 closed 9 months ago

dante1989 commented 9 months ago

When i use: dim ItemOrderOKX= clientFutureOKX.UnifiedApi.Trading.GetAlgoOrderAsync(AlgoId) i got error from ItemOrderOKX.Error.Message: Deserialize JsonSerializationException: Error converting value "" to type 'System.Boolean'. Path 'data[0].amendPxOnTriggerType', line 1, position 187.

My Type Order is Trigger and State is Live

JKorf commented 9 months ago

This should be fixed when using the latest CryptoExchange.Net version, V6.2.5. You can install that version directly until a new version of the OKX library is released with the new package reference

dante1989 commented 9 months ago

CryptoExchange.Net version, V6.2.5 is ok for this problem