Hi there! I've been getting an error while trying to run your project on my old MacBook Air A1466 (Intel CPU).
Code:
from API import XTB
login = xxxxxxx (7 digits, without quotes - on Windows PC it works even when login is in quotes)
haslo = "mypassword"
API = XTB(ID=login, PSW=haslo)
list = API.get_Candles("M1", "AUDUSD", qty_candles=10)
API.logout()
Error:
File "/Users/xxxxxxx/PycharmProjects/FX/API.py", line 573, in send
self.ws.send(msg)
^^^^^^^^^^^^
AttributeError: 'int' object has no attribute 'send'
It works perfectly on 3 different Windows laptops. Any ideas on what might be an issue?
Hi there! I've been getting an error while trying to run your project on my old MacBook Air A1466 (Intel CPU).
Code:
Error:
It works perfectly on 3 different Windows laptops. Any ideas on what might be an issue?