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

Configurable timeouts and removed the connection exceptions #5

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Xibel
Copy link

@Xibel Xibel commented Oct 29, 2019

I added two connection timeouts to the Binance config file so users are able to change the timeouts from the .env file or the binance config file.

I also removed the exceptions from the request functions. If you use this repository from a backend looping script and the network connection is unavailable the BinanceAPI code will throw an exception and exit the script. By returning a null, a user is able to handle the disconnect or returned null request themself.

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.

1 participant