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

Rate limits incorrect behaviour #1

Open
kushsharma2910 opened this issue Dec 19, 2022 · 0 comments
Open

Rate limits incorrect behaviour #1

kushsharma2910 opened this issue Dec 19, 2022 · 0 comments

Comments

@kushsharma2910
Copy link

Though the public requests are said to have 20 requests per second limit, I observe the following when I call get order book public request.

On the left is the time epoch of the response. As you can see within a second, it keeps switching between 429 and 200 response code.

1671442047.165807 Update ob response code = 200
1671442047.3440382 Update ob response code = 200
1671442048.012679 Update ob response code = 429
1671442048.0583665 Update ob response code = 200 <== Assuming 1 sec window starts here as I got first 200 after 429
1671442048.0742612 Update ob response code = 429 <== It shouldn't respond with 429 again within the second window
1671442048.354246 Update ob response code = 429
1671442049.002452 Update ob response code = 429
1671442049.1374915 Update ob response code = 200
1671442049.3620355 Update ob response code = 200
1671442049.952536 Update ob response code = 429
1671442049.9685616 Update ob response code = 429

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

1 participant