Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A lot of problems with KuCoin #2000

Open
EgyptianM opened this issue Aug 7, 2022 · 10 comments
Open

A lot of problems with KuCoin #2000

EgyptianM opened this issue Aug 7, 2022 · 10 comments

Comments

@EgyptianM
Copy link

EgyptianM commented Aug 7, 2022

Latest release for windows
Windows 10

First it doesn't fetch coins from KuCoin.
I added the exchange and enabled it , also I did save and restart the bot but still can't find coins I want from KuCoin in the coins dropdown menu
Event log has many errors and warnings I'll list them below

WARNING OHLCVUpdater[kucoin] Failed to initialize candle history for WOO/USDT on TimeFrames.ONE_DAY. Retrying in 10 seconds
WARNING OHLCVUpdater[kucoin] Failed to get_symbol_prices kucoin GET https://openapi-v2.kucoin.com/api/v1/market/candles?symbol=WOO-USDT&type=1day&startAt=1642608930&endAt=1659888930 429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}


ERROR CCXTExchange[kucoin] DDoSProtection triggered [kucoin GET https://openapi-v2.kucoin.com/api/v1/market/candles?symbol=WOO-USDT&type=1day&startAt=1642608930&endAt=1659888930 429 Too Many Requests {"code":"429000","msg":"Too Many Requests"} (RateLimitExceeded)]. Last response headers: {'Date': 'Sun, 07 Aug 2022 16:15:25 GMT', 'Content-Type': 'application/json', 'Content-Length': '43', 'Connection': 'keep-alive', 'Set-Cookie': 'AWSALB=zWh8kJ5wty8yWwDHT8wLlasVx4RqGd6HAdQRL0EGTzraassetHCP08DU+3FfIzSnsb2Fyp7Wc6Gq1HXpjBkbwE+Ara0PDe29rfFCENkkAZlxZIS+O6eV54ccN7zk; Expires=Sun, 14 Aug 2022 16:15:25 GMT; Path=/, AWSALB=zWh8kJ5wty8yWwDHT8wLlasVx4RqGd6HAdQRL0EGTzraassetHCP08DU+3FfIzSnsb2Fyp7Wc6Gq1HXpjBkbwE+Ara0PDe29rfFCENkkAZlxZIS+O6eV54ccN7zk; Expires=Sun, 14 Aug 2022 16:15:25 GMT; Path=/', 'CF-Cache-Status': 'DYNAMIC', 'Expect-CT': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"', 'Server': 'cloudflare', 'CF-RAY': '73714f9599df5386-PMO'} Last json response: {'code': '429000', 'msg': 'Too Many Requests'}

And it's repeating them
Note: I didn't set any api key or password yet for the exchange, I want to test the bot first.

@Herklos
Copy link
Member

Herklos commented Aug 7, 2022

Hi @EgyptianM, how many coins (symbols) did you configure?

@EgyptianM
Copy link
Author

Hi @EgyptianM, how many coins (symbols) did you configure?

Hi,
Just 1 coin which is WOO
I even removed BTC and I can't find my favorite coins in the list.

@romcoca
Copy link

romcoca commented Aug 8, 2022

It doesnt work with kucoin.
I add the API Key + API secret + API password => the account said that it is connected but when i try to refresh my portfolio, i had error apikey.
Try on docker and Windows.
Worth it because it seems to be a good tool but I have to find another bot if you didn't fix this error.
Regards

@joshh71390
Copy link

joshh71390 commented Aug 9, 2022

** simplified comment.. : why cant you guys just have a settings page with all the generic endpoints text strings that are being used and allow us to modify them as needed / if needed...

@romcoca
Copy link

romcoca commented Aug 9, 2022

I apology for my issue, the problem of api came from another account. The problem I have with Kucoin is that the portfoli never update. I didt'n have my crypto from Kucoin on the octobot portfolio. There is no error, no warning, just nothing append (the account Kucoin is writteng login successful is account tab).

@nitrocon
Copy link

nitrocon commented Sep 8, 2022

@EgyptianM you still have issues?

@EgyptianM
Copy link
Author

@EgyptianM you still have issues?

I switched to Freqtrade since I posted the issue and didn't get a solution for a long time.
Freqtrade is working great for me.

@nitrocon
Copy link

nitrocon commented Sep 9, 2022

@EgyptianM @Herklos @GuillaumeDSM I had a look into the freqtrade code, actually they have a OHCLV Limit= 1500
https://github.com/freqtrade/freqtrade/blob/develop/freqtrade/exchange/kucoin.py

the rest seems like ccxt

@GuillaumeDSM
Copy link
Member

Thanks for mentioning that it works on Freqtrade, after looking at it, it seems they also has this issue (freqtrade/freqtrade#5700) and they "fixed" it by adding a custom retry delay for kucoin, we will see what we can do to make it work as well.

@nitrocon
Copy link

nitrocon commented Sep 9, 2022

this might help too
ccxt/ccxt#10273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants