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

API Blocked #7

Open
GameEnder opened this issue Dec 10, 2022 · 3 comments
Open

API Blocked #7

GameEnder opened this issue Dec 10, 2022 · 3 comments

Comments

@GameEnder
Copy link

The API for binance is now blocked in United States, Malaysia, and Ontario. Not sure if there is any work around but I just wanted you make you aware.

@endofwed
Copy link

Stopped working for me as well. This is such a wonderful tool, hope it gets resolved!

@endofwed
Copy link

endofwed commented Jan 8, 2023

The API for binance is now blocked in United States, Malaysia, and Ontario. Not sure if there is any work around but I just wanted you make you aware.

If anyone is using this, here is the solution:

After testing a bit, it seems like you can simply replace ".com" with ".us" to make this work again, e.g. instead of running an API call to URL=https://api.binance.com/api/v3/ticker/24hr?symbol=#TradeSymbol1#, change it to URL=https://api.binance.us/api/v3/ticker/24hr?symbol=#TradeSymbol1#

@seamonkey420
Copy link

The API for binance is now blocked in United States, Malaysia, and Ontario. Not sure if there is any work around but I just wanted you make you aware.

If anyone is using this, here is the solution:

After testing a bit, it seems like you can simply replace ".com" with ".us" to make this work again, e.g. instead of running an API call to URL=https://api.binance.com/api/v3/ticker/24hr?symbol=#TradeSymbol1#, change it to URL=https://api.binance.us/api/v3/ticker/24hr?symbol=#TradeSymbol1#

in addition to this, you will also need to edit the config ini files and remove prevClose from the reg exp, just do a fine for ,"prevClosePrice":".*" and delete it, it will finally parse data properly.

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

3 participants