-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I've dowloaded the repo. Created my own script based on the one provided in the project describtion. My script is trying to login and GET some data back.
`
def sync_client_test(user, password):
logger = logging.getLogger("sync client")
with XTBSyncClient(user, password, mode=ConnectionMode.DEMO, proxy=None) as client:
symbols = client.get_all_symbols()
logger.info(f"All symbols {symbols}")
print(f"Symbols: {symbols}.")
time.sleep(1)
calendars = client.get_calendar()
logger.info(f"All calendars {calendars}.")
print(f"All calendars {calendars}.")
`
I'm getting EX000. Invalid parameters.
It seems that the problem lays within sessionId which is hardcoded
Metadata
Metadata
Assignees
Labels
No labels