question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running ibeam for workflow services?

See original GitHub issue

Describe the feature Thanks for the package. It is super useful. Not sure if this would be an enhancement though.

I am trying to set up monthly auto investment (like what we did in retirement account).

  1. Currently I am using Python schedule lib to set up the recurring job. I want to evaluate some workflow service for better retry/error handling (e.g. AWS Step function, Cadence), is it feasible to use ibeam for the auth and how to do it?
  2. Is it recommended to turn off IBKR Secure Login System for API auth? I have it enabled on my account. I need to manually approve the auth on my phone when the log in is required. I have voyz/ibeam:0.4.0-rc1 running for more than 1 week. The gateway auth returned errors almost every other day (Sorry the ibeam auth logs were purged), and it would require re-login . I have to manually approve the auth on my phone.

I am still very new to all IBKR API and Auth part.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:31 (28 by maintainers)

github_iconTop GitHub Comments

5reactions
JackD111commented, Nov 15, 2021

You can create a new user linked to your main account. I believe it’s restricted to only one user that runs alongside with the primary account holder. On that user you make sure to not activate 2FA because once it’s enabled you can’t turn it off. I’m using that second user in ibeam. This is also very nice because you can log in anytime in TWS or the client portal with your main user without taking away the session of the user logged into ibeam. My main user has 2FA enabled but the 2nd user has not 2FA enabled. Technically a security risk but it’s the only way to properly run ibeam without any user interaction or google auth shananigans. What might make it secure but I haven’t tried yet , is restricting the user to only be allowed to login from specific IPs which would than be my cloud machine running ibeam. That might be something worth investigating but I haven’t bothered yet.

Read this article for more info about having a second user added to your account: https://ibkr.info/article/1004

2reactions
JackD111commented, Jan 7, 2022

@Voyz Your new update came just in time with both my paper and live account loosing connections. IBeam was able to re-establish the connection without competing but than the brokerage account responses were empty. I updated to rc5 and manually caused a logout with postman and after IBeam logged in again it was competing. The new logic than worked and restarted as expected and sent the reauthenticate request which fixed the empty brokerage response: image Thanks for the quick update. I’ll keep monitoring this and hopefully that empty brokerage response problem will be a thing of the past.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing Workflow Process Service on Docker - IBM
Workflow Process Service helps you develop, test, and run workflow processes that orchestrate human tasks and services. It provides a fit for purpose,...
Read more >
Why IBEAM? - Primeritus Financial Services
With IBEAM, all communication and workflow is captured in one system, enabling you to see actions as they happen, no more waiting for...
Read more >
Voyz/ibeam - GitHub
IBeam is an authentication and maintenance tool used for the Interactive Brokers Client Portal Web API Gateway. Features: Facilitates continuous headless run of ......
Read more >
Projects & Environments - Apache Hop
Running pipelines and workflows ... You can specify an environment or a project when executing a pipeline or a workflow. By doing so...
Read more >
BeamSummit2022-Implementing Cloud Agnostic Machine ...
In most cases, ML teams leverage the managed service solutions ... and deploy Argo workflows for running their beam job on Kubernetes.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found