Closed overstartup closed 1 year ago
But still it has error: could you please check it again?
Sending GET signed request to https://www.okx.com/api/v5/account/positions?instId=LINK-USDT-SWAP&instType=SWAP
2023/04/18 12:47:25:233 | Warning | OKX RestApi | [8] Error received in 279ms: {"msg":"Invalid Sign","code":"50113"}
Inspecting...
It was related with signature algorithm. I've fixed it. You can see commit https://github.com/burakoner/OKX.Api/commit/6f5f04f5beeb412c4aaa7a995268d5a70819d84e and use nuget package https://www.nuget.org/packages/OKX.Api/1.0.4 for new version
This method also has error.
It has the same issue in "GetAccountPositionsHistoryAsync" , too.