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

New v5 apiKey. #21

Closed fotrosi closed 2 years ago

fotrosi commented 3 years ago

Hi, I have this error: "30016: Please change to port v1 when you are using v1 apiKey. If you wish to use port v3, please register a v3 apiKey" My apiKey version is v5 and I can't create v3 apiKey. Please help me. Thx.

EgorovOleg commented 3 years ago

Hi, I have this error: "30016: Please change to port v1 when you are using v1 apiKey. If you wish to use port v3, please register a v3 apiKey" My apiKey version is v5 and I can't create v3 apiKey. Please help me. Thx.

Hi. you solved this problem?

fotrosi commented 3 years ago

Hi, I have this error: "30016: Please change to port v1 when you are using v1 apiKey. If you wish to use port v3, please register a v3 apiKey" My apiKey version is v5 and I can't create v3 apiKey. Please help me. Thx.

Hi. you solved this problem?

Hi, No, this problem still exists.

EgorovOleg commented 3 years ago

Hi, I have this error: "30016: Please change to port v1 when you are using v1 apiKey. If you wish to use port v3, please register a v3 apiKey" My apiKey version is v5 and I can't create v3 apiKey. Please help me. Thx.

Hi. you solved this problem?

Hi, No, this problem still exists.

Sometimes I get the v3 key generation menu. And the menu becomes adding api v5. image

MsLolita commented 3 years ago

Somebody solve this error?

EgorovOleg commented 3 years ago

Somebody solve this error? What error?

MsLolita commented 3 years ago

I said about this https://github.com/burakoner/OKEx.Net/issues/21#issue-848787463, but I solved.

ikaman commented 3 years ago

for me the same issue.

Anyone had a fix for this? does this mean the whole lib has to be updated to api v5? (as you cannot make api v3 keys any more)

MsLolita commented 3 years ago

for me the same issue.

Anyone had a fix for this? does this mean the whole lib has to be updated to api v5? (as you cannot make api v3 keys any more)

Yeah, there isn't anyway to get v3 apikey, so use only v5 documentation with v5 keys.

ikaman commented 3 years ago

for me the same issue. Anyone had a fix for this? does this mean the whole lib has to be updated to api v5? (as you cannot make api v3 keys any more)

Yeah, there isn't anyway to get v3 apikey, so use only v5 documentation with v5 keys.

Can you explain a little bit more pls? How can I use only v5 documentation? It seems whatever endpoint I use I keep getting the same error from the start of the thread

claudius6 commented 3 years ago

I solved it!

You guys need to use the actual new docs which is v5: https://www.okex.com/docs-v5/en/#overview

If you are using sdk in python or others. change the Links there!

They changed the links completely. e.g. the old format was like: /api/account/v3/wallet but the new format is different e.g. /api/v5/account/balance

you can change that at okex.consts.py

ikaman commented 3 years ago

I solved it!

You guys need to use the actual new docs which is v5: https://www.okex.com/docs-v5/en/#overview

If you are using sdk in python or others. change the Links there!

They changed the links completely. e.g. the old format was like: /api/account/v3/wallet but the new format is different e.g. /api/v5/account/balance

you can change that at okex.consts.py

how do you use the new docs? I didnt see an option in the SDK to do that

claudius6 commented 3 years ago

I solved it! You guys need to use the actual new docs which is v5: https://www.okex.com/docs-v5/en/#overview If you are using sdk in python or others. change the Links there! They changed the links completely. e.g. the old format was like: /api/account/v3/wallet but the new format is different e.g. /api/v5/account/balance you can change that at okex.consts.py

how do you use the new docs? I didnt see an option in the SDK to do that

You need to rewrite some functions. take a look inside the funtion they use and change it that it fits with the the new docs

claudius6 commented 3 years ago

its enough to change the parameters names and the links. (links at consts.py) like explained above

burakoner commented 2 years ago

Please take a look for https://github.com/burakoner/OKEx.Net/commit/c53e24f2f10b9005e0e2562f3c53bfe060eceb75