Open Rohanlogs opened 4 years ago
Bear in mind that your your login information is different than that you use to enter the xStation platform
which type of login should be used ? the one with mail address or the numeric one ? neither one is working for me
please ?
I finally find an answer :
#!/usr/bin/env python3
from XTBApi.api import Client
client = Client()
client.login("1234567", "myPassword", mode="real")
print('market: ', client.check_if_market_open(['EURUSD']) )
client.logout()
is working.
"user_id" should be the account number that xStation5 provided, not the email address you registered.
Hey, I'm having trouble logging in:
Its throwing this error: