-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Open
Description
Operating System
windows
Programming Language
JavaScript
CCXT Version
last
Description
Hi,
I'm having a rate-limit issue with Kraken.
Even with enableRateLimit: true, Kraken often returns the following error:
DDoSProtection: kraken {"error":["EGeneral:Too many requests"]}
It looks like a Cloudflare limit rather than the normal Kraken API limit.
Here is how I initialize the exchange (without proxy):
globalThis.exchange = new ccxt.kraken({
apiKey: 'MY_API_KEY',
secret: 'MY_SECRET',
enableRateLimit: true,
options: {
adjustForTimeDifference: true
}
});
According to the documentation, this should respect Kraken's rate limits automatically, so I'm not sure why Cloudflare is blocking me.
Is there something I should configure differently for Kraken (like rateLimit, api throttle, or addNonce)?
Or does Kraken enforce additional Cloudflare-based limits not covered by CCXT’s rate limiter?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels