Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make use of config.acc_number #3

Open
Andrew-Horton opened this issue May 16, 2022 · 1 comment
Open

Make use of config.acc_number #3

Andrew-Horton opened this issue May 16, 2022 · 1 comment

Comments

@Andrew-Horton
Copy link

For some reason IG removed optino to set default account in demo account and my one is set to CFD. I would suggest to add ig_service.switch_account() to have possibility of switching demo accounts. I tried to amend initialisation class but I couldn't make it work.

@g-make-it
Copy link
Owner

Hi Andrew,

I had some issues here as well, switching accounts is hard todo via the API programmatically, I would suggest using the online developer console IG offers:
Base website: https://labs.ig.com/
The rest API console (can switch accounts here): https://labs.ig.com/sample-apps/api-companion/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants