CyberPunkMetalHead / binance-trading-bot-new-coins

This Binance trading bot detects new coins as soon as they are listed on the Binance exchange and automatically places sell and buy orders. It comes with trailing stop loss and other features. If you like this project please consider donating via Brave.
MIT License
1.46k stars 268 forks source link

Test Net run issue #37

Open sinash14 opened 3 years ago

sinash14 commented 3 years ago

Hi,

Thanks for sharing the codes. I am trying to run the codes on Binance test net but I am getting below error:

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.binance.binance_tld', port=443): Max retries exceeded with url: /api/v3/ping (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f12e8610760>: Failed to establish a new connection: [Errno -2] Name or service not known'))

Could you please assist ? Thanks

mevljas commented 3 years ago

Have you pulled the latest changes?

sinash14 commented 3 years ago

Yes, I started frm the scratch again. This time I created API from my binance account not test net. However, I am getting below error now:

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.binance.binance_tld', port=443): Max retries exceeded with url: /api/v3/ping (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fe47664ccd0>: Failed to establish a new connection: [Errno -2] Name or service not known'))

easyguyme commented 3 years ago

Yes, I started frm the scratch again. This time I created API from my binance account not test net. However, I am getting below error now:

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.binance.binance_tld', port=443): Max retries exceeded with url: /api/v3/ping (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fe47664ccd0>: Failed to establish a new connection: [Errno -2] Name or service not known'))

You need to update your auth file and change binance_tld: "BINANCE_TLD" to binance_tld: "COM" or binance_tld: "US" depending with the country you are in.

sinash14 commented 3 years ago

Great! that resolved it! Thank you!

easyguyme commented 3 years ago

@sinash14 @CyberPunkMetalHead please close this issue