burakoner / OKEx.Net

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

Funds Transfer Error #82

Closed ByLazut closed 1 year ago

ByLazut commented 1 year ago

Error Code | HTTP Status code | Error Message 51000 | 400 | Parameter {0} error.

can you update the project

OKEX Request Example Transfer 1.5 USDT from funding account to Trading account when current account is master-account POST /api/v5/asset/transfer body { "ccy":"USDT", "amt":"1.5", "from":"6", //funding "to":"18" // spot } your code namespace Okex.Net.Enums { public enum OkexAccount { Spot = 0, Futures = 1, Margin = 2, Funding = 3, Swap = 4, Option = 5, Unified = 6 } }

burakoner commented 1 year ago

Version 5.3.0 is released with this commit https://github.com/burakoner/OKEx.Net/commit/1700b679454393180777e3a9eb06772ed0a2d159 Also nuget package is available on https://www.nuget.org/packages/OKEx.Net/5.3.0