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
add support for binance.us #453
Comments
I totally agree. any support for binance.us? Do we need to change more than this file (https://github.com/sammchardy/python-binance/blob/master/binance/client.py)? |
i have made some changes and got it working. I will raise a PR soon. |
Joshith lets see it! |
@joshith @NSSmithPortfolio @jiwoongim A workaround is to update the client's API URLs for each client instance or directly editing the file as @jiwoongim suggested :
|
This resets only the urls for REST API! |
you update the initialization parameter as follows |
This does not work. You get multiple errors when looking up ticker prices or retrieving account status. |
@ZENALC I dunno, worked for me. Sure you got the latest version of code? And need a space in the above quoted text if you directly copy/pasted. Mine: client = Client(pub, sec, tld='us') |
The space does not matter. I am running the latest version of the code, but if you try to get the latest price ticker or retrieve account status, the code will not work. |
Tested ->
|
Add support for binance.us.
binance-python currently doesn't provide a way to configure API endpoints. I don't know if it is just a matter of making that configurable or there is more to it to start supporting binance.US
The text was updated successfully, but these errors were encountered: