Coder Social home page Coder Social logo

Comments (13)

whitebone123 avatar whitebone123 commented on May 26, 2024 1

Ok, thanks. It's an excellent project. πŸ‘

from crypto-exchanges-gateway.

aloysius-pgast avatar aloysius-pgast commented on May 26, 2024

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 ?

from crypto-exchanges-gateway.

whitebone123 avatar whitebone123 commented on May 26, 2024
  1. Below is the screen shot of the network tab when error message popped up:
    image
  2. Below is the screen shot after close the error message:
    image

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/"}

from crypto-exchanges-gateway.

aloysius-pgast avatar aloysius-pgast commented on May 26, 2024

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).

from crypto-exchanges-gateway.

whitebone123 avatar whitebone123 commented on May 26, 2024

There is only V5 API key generation option in Okex now. Is it why the geatway throwh error?
image

from crypto-exchanges-gateway.

whitebone123 avatar whitebone123 commented on May 26, 2024

I've generated another V5 API key and had the same error in gateway.

from crypto-exchanges-gateway.

aloysius-pgast avatar aloysius-pgast commented on May 26, 2024

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

from crypto-exchanges-gateway.

whitebone123 avatar whitebone123 commented on May 26, 2024

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.
image

from crypto-exchanges-gateway.

aloysius-pgast avatar aloysius-pgast commented on May 26, 2024

Can you ensure that you're using "Unified account" for OKex ?

from crypto-exchanges-gateway.

whitebone123 avatar whitebone123 commented on May 26, 2024

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.

from crypto-exchanges-gateway.

aloysius-pgast avatar aloysius-pgast commented on May 26, 2024

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 ?

from crypto-exchanges-gateway.

whitebone123 avatar whitebone123 commented on May 26, 2024

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.

from crypto-exchanges-gateway.

aloysius-pgast avatar aloysius-pgast commented on May 26, 2024

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 😁

from crypto-exchanges-gateway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.