-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hi i am new to python and have some coding experience before but not much.
I try to use this code and to run the test_ig_service.py
It seems that the username from my ig_service_config.py do not send the username password etc.
I have set up:
ig_service.py
ig_service_config.py
test_ig_service.py
kodamed.py
The last is where i have this code:
from ig_service import IGService
from ig_service_config import *
ig_service = IGService(username, password, api_key, acc_type)
ig_service.create_session()
account_info = ig_service.switch_account(acc_number, False)
print(account_info)
open_positions = ig_service.fetch_open_positions()
print(open_positions)
Have i setup something wrong?
Metadata
Metadata
Assignees
Labels
No labels