Closed eliabsbueno closed 6 years ago
What python version are you using? If you are using python 3.6+ I am going to push a rewrite in 2 days. Most of the current functionality is completely rewritten to be stable, if you can wait for two days you can use that.
You can try the code written here https://github.com/harwee/IQOption-Api/tree/async If you face any difficulty please reopen the issue
My code: from iqoption_api import IQOption api = IQOption("*****","*") api.login() # Returns True if successful else False
print(api.active_account) api.subscribe_market("EURUSD") api.market_data api.update_expiration_list("EURUSD") print(api.binary_expiration_list["EURUSD"])
Error:
KeyError Traceback (most recent call last)