Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Kraken : rate limiting not working #27468

@vd3d

Description

@vd3d

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions