Closed maromato closed 2 years ago
Sorry. The below worked 👍
# init
api_key = 'API KEY FOR TESTNET'
api_secret ='SECRET KEY FOR TESTNET'
client = Client(api_key, api_secret, testnet=True)
client.API_URL = 'https://testnet.binance.vision/api'
#client.API_URL = 'https://testnet.binancefuture.com
When I tried to connect Binance testnet, I had a secret key issue. Does anybody know how to fix this?
gave an error as below.
However, the code below gave a correct response.
{'symbol': 'BTCUSDT', 'price': '29186.56000000'}
I think this would be a secret key recognition issue??
Environment (please complete the following information):