-1

I'm trying to get data from binance client using python on VSCode .

from binance import Client
import config

key = config.API_KEY
secret = config.API_SECRET

client = Client(key, secret)

info = client.get_symbol_info("BTCUSDT")

I tryed the same code on google collab and it worked. but I always have the error

'Client' object has no attribute

when I run the code using VSCode .

rioV8
  • 24,506
  • 3
  • 32
  • 49
shypou
  • 1

1 Answers1

0

uninstall and reinstall python-binance

  • Please add more clarification. – Shedrack Feb 14 '22 at 18:59
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Feb 14 '22 at 19:08