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

bingx: update ratelimits #22563

Merged
merged 1 commit into from
May 21, 2024
Merged

bingx: update ratelimits #22563

merged 1 commit into from
May 21, 2024

Conversation

Dan-krm
Copy link
Contributor

@Dan-krm Dan-krm commented May 21, 2024

Updated the ratelimits on BingX to match their changes from April 15th, 2024

Adjusted the ratelimit weights using the formula:
requests-per-second = 1000ms / ( rateLimit * weight)

Group 1 total IP is 10 requests-per-second (rps)
Group 2 total IP is 100 rps or 10 rps per interface
Group 3 total IP is 100 rps or 20 rps per interface

common weights:

rateLimit = 100
10 = 1 rps
5 = 2 rps
2 = 5 rps
1 = 10 rps

resources:

https://bingx-api.github.io/docs/#/en-us/swapV2/base-info.html#Rate%20limit
https://bingx-api.github.io/docs/#/en-us/swapV2/changelog

Updated the ratelimits on BingX to match their changes from April 15th, 2024

Adjusted the ratelimit weights using the formula:
requests-per-second = 1000ms / ( rateLimit * weight)

Group 1 total IP is 10 rps
Group 2 total IP is 100 rps or 10 rps per interface
Group 3 total IP is 100 rps or 20 rps per interface

### common weights:
rateLimit = 100
10 = 1 rps
5 = 2 rps
2 = 5 rps
1 = 10 rps

### resources:
https://bingx-api.github.io/docs/#/en-us/swapV2/base-info.html#Rate%20limit
https://bingx-api.github.io/docs/#/en-us/swapV2/changelog
@Dan-krm Dan-krm requested a review from carlosmiei May 21, 2024 09:16
@carlosmiei carlosmiei merged commit c447d72 into ccxt:master May 21, 2024
1 of 2 checks passed
kroitor pushed a commit that referenced this pull request May 21, 2024
refactor(coinex): ratelimits

Updated the ratelimits on BingX to match their changes from April 15th, 2024

Adjusted the ratelimit weights using the formula:
requests-per-second = 1000ms / ( rateLimit * weight)

Group 1 total IP is 10 rps
Group 2 total IP is 100 rps or 10 rps per interface
Group 3 total IP is 100 rps or 20 rps per interface

### common weights:
rateLimit = 100
10 = 1 rps
5 = 2 rps
2 = 5 rps
1 = 10 rps

### resources:
https://bingx-api.github.io/docs/#/en-us/swapV2/base-info.html#Rate%20limit
https://bingx-api.github.io/docs/#/en-us/swapV2/changelog

[ci skip]
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

Successfully merging this pull request may close these issues.

None yet

2 participants