burakoner / OKEx.Net

Open source .Net API wrapper for the @OKEx V5 Rest API and V5 Websocket API
MIT License
86 stars 49 forks source link

Wrong property type Okex.Net.RestObjects.Account.AvailablePositions #28

Closed ivanov-as closed 3 years ago

ivanov-as commented 3 years ago

The error occurs when calling the method GetAccountPositions_Async: Deserialize JsonReaderException: Could not convert string to integer: 0.2038044468. Path 'data[0].availPos', line 1, position 56., Path: data[0].availPos, LineNumber: 1, LinePosition: 56

burakoner commented 3 years ago

Fixed in https://github.com/burakoner/OKEx.Net/commit/cd4894edb6c9180b6de0e22d1edbbc82bb829e47