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

note prohibited countries for Binance.com API #237

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

X1011
Copy link
Contributor

@X1011 X1011 commented Apr 19, 2024

I was not able to use the Binance.com API from the US:

ccxt.base.errors.ExchangeNotAvailable: binance GET https://api.binance.com/api/v3/exchangeInfo 451 {
"code": 0,
"msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error."

@macanudo527
Copy link
Collaborator

@X1011 Thanks for this. I thought I coded a better warning than that, but this is good documentation until I can get to it.

Copy link
Collaborator

@macanudo527 macanudo527 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@macanudo527 macanudo527 merged commit 11c4150 into eprbell:main Apr 19, 2024
16 checks passed
@X1011 X1011 deleted the patch-1 branch April 22, 2024 01:20
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.

2 participants