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

Docker for Interactive Broker only works for US Location, how can we make it work for Canada as well #25

Closed
SRobotic opened this issue Jul 23, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@SRobotic
Copy link

Describe the feature

Just installed your Docker container using my MACBook-Pro, I’m just at the stage of connecting to the InteractiveBroker account on localhost:5000, I realized that’s takes me to US Location, where I’m residing in Canada.

It takes we here:

https://localhost:5000/sso/Login?forwardTo=22&RL=1&ip2loc=US

Expected interaction

The Canadian URL for Interactive Broker is:

Whereas actually for Canadian URL for Interactive Broker we should be redirected to:

https://cdcdyn.interactivebrokers.com/sso/Login

Appreciate if we can get any help with this one..

@SRobotic SRobotic added the enhancement New feature or request label Jul 23, 2021
@Voyz
Copy link
Owner

Voyz commented Jul 24, 2021

Hi @SRobotic welcome to IBeam and thanks for outlining your issue 👋

Could I suggest having a look at these two configuration variables:

https://github.com/Voyz/ibeam/wiki/IBeam-Configuration#gateway-routes

  • IBEAM_GATEWAY_BASE_URL
  • IBEAM_ROUTE_AUTH

Would you be able to configure the path the way you require using these two?

@Voyz Voyz self-assigned this Jul 24, 2021
@codeforce1
Copy link

I'm on the same boat. Anyone figure how to make it work with IB Canada account yet?

Maybe change the conf.yaml somehow? @SRobotic ?

@Voyz
Copy link
Owner

Voyz commented Aug 23, 2021

Hey @codeforce1 - we've had canadian users of IBeam, I'm guessing it's possible. Did you try the setup parameters I suggested?

@Voyz
Copy link
Owner

Voyz commented Sep 27, 2021

Hi @codeforce1 @SRobotic I'm closing this issue due to lack of activity, feel free to reopen if you'd like to continue the conversation. The solution to Canadian IBKR accounts seems to be setting the proxyRemoteHost: "https://1.api.ibkr.com" in conf.yaml. See #34

Thanks for participating 👍

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

No branches or pull requests

3 participants