Closed whitebone123 closed 2 years ago
Hi. My guess is you're passing an incorrect value for cfg.exchanges.okex.secret
or cfg.exchanges.okex.password
. Could you check network tab in browser console and see a 403
response is returned by gateway ?
The error detail is: {origin: "remote",β¦} error: "okex {\"error_message\":\"Please change to port v1 when you are using v1 apiKey. If you wish to use port v3, please register a v3 apiKey.\",\"code\":30016,\"error_code\":\"30016\",\"message\":\"Please change to port v1 when you are using v1 apiKey. If you wish to use port v3, please register a v3 apiKey.\"}" extError: {errorType: "ExchangeError.InvalidRequest.UnknownError",β¦} origin: "remote" route: {method: "GET", path: "/exchanges/okex/balances/"}
Can you try to generate a new api key (using V3 option) on Okex and see if it's working better ? (as the error message seems to indicate that's api key is using an old format).
There is only V5 API key generation option in Okex now. Is it why the geatway throwh error?
I've generated another V5 API key and had the same error in gateway.
Hi. I published a new version with support for OKex v5 API. After pulling the new docker image & re-creating the container, everything should be better. Let me know
Hi, I've pulled the new version on dcoker. Everything works fine except 'Okex/My balances'. It shows an empty table, but I have few USDT in this account.
Can you ensure that you're using "Unified account" for OKex ?
Yes, it is. My account mode is 'simple spot trading user'. I switched to 'Single-currency margin mode' and got the same result in Gateway.
With a new account, balance shows up correctly after transfering funds from Funding account to Trading account. Are you able to trade from https://www.okex.com/trade-spot ?
Hi, according to your suggestion, I transferred the USDT from funding account to trading account (unified account). And, It appeared in 'my balances'. Sorry about my misunderstanding of the unified account. BTW, do you have plan to support more exchanges like MEXC, Gate.io.
Glas itβs working π. Regarding adding more exchanges it might be possible but this project was mainly developed for our own use (small team of crypto enthusiasts). The idea was to make basic trading automation easier and have a unified basic ui across the exchanges we used the most. While the project is maintained, it does not really have enough traction to spend time integrating and supporting many exchanges. So unless we have many requests to implement a specific exchange, we will probably stick to the current ones π
Ok, thanks. It's an excellent project. :+1:
Hi, I have all exchanges working except Okex. Do you also have the same problem? Below is my environment:
In UI, under Okex exchange: