
This library is currently being beta-tested. See something that's broken? Did we get something wrong? https://github.com/Voyz/ibeam/issues
https://github.com/Voyz/ibeam
https://github.com/Voyz/ibeamhttps://github.com/Voyz/ibeamhttps://github.com/Voyz/ibeam
</a>
<a href="https://github.com/Voyz/ibeam/releases">
</a>
IBeam is an authentication and maintenance tool used for the https://interactivebrokers.github.io/cpwebapi/
Features:
Facilitates continuous headless run of the Gateway.
No physical display required - virtual display buffer can be used instead.
No interaction from the user required - automated injection of IBKR credentials into the authentication page used by the Gateway.
TLS certificate support - you can provide your own certificates.
Containerised using Docker - it's a plug and play image, although IBeam can be used as standalone too.
Not so secure - Yupp, you'll need to store the credentials somewhere, and that's a risk. Read more about it in Security.
Docker Image (Recommended):
poshdocker pull voyz/ibeam
Standalone:
poshpip install ibeam
Docker Image (Recommended):
poshdocker run --env IBEAM_ACCOUNT=your_account123 --env IBEAM_PASSWORD=your_password123 -p 5000:5000 voyz/ibeam
docker-compose:
Create a docker-compose.yml file with the following contents:
yamlversion: "2.1" services: ibeam: image: voyz/ibeam container_name: ibeam env_file: - env.list ports: - 5000:5000 network_mode: bridge # Required due to clientportal.gw IP whitelist restart: 'no' # Prevents IBEAM_MAX_FAILED_AUTH from being exceeded
Create an env.list file in the same directory with the following contents:
poshIBEAM_ACCOUNT=your_account123 IBEAM_PASSWORD=your_password123
Run the following command:
poshdocker-compose up -d
Standalone:
poshpython ibeam_starter.py
Once started, verify the Gateway is running by calling:
poshcurl -X GET "https://localhost:5000/v1/api/one/user" -k
Read more in https://github.com/Voyz/ibeam/wiki/Installation-and-startup.
In a standard startup IBeam performs the following:
root folder (if provided).selenium.pyvirtualdisplay.Please feel free to suggest improvements to the security risks currently present in IBeam and the Gateway by https://github.com/Voyz/ibeam/issues on GitHub.
The Gateway requires credentials to be provided on a regular basis. The only way to avoid manually having to input them every time is to store the credentials somewhere. This alone is a security risk.
Currently, IBeam expects the credentials to be available as environment variables during runtime. Whether running IBeam in a container or directly on a host machine, an unwanted user may gain access to these credentials. If your setup is exposed to a risk of someone unauthorised reading the credentials, you may want to look for other solutions than IBeam or use the Gateway standalone and authenticate manually each time.
We ***ed providing a possibility to read the credentials from an external credentials store, such as GCP Secrets, yet that would require some authentication credentials too, which brings back the same issue it was to solve.
IBeam was built by traders just like you. We made it open source in order to collectively build a reliable solution. If you enjoy using IBeam, we encourage you to attempt implementing one of the following tasks:
Read the https://github.com/Voyz/ibeam/blob/master/CONTRIBUTING.md guideline to get started.
See https://github.com/Voyz/ibeam/blob/master/LICENSE
IBeam is not built, maintained, or endorsed by the Interactive Brokers.
Use at own discretion. IBeam and its authors give no guarantee of uninterrupted run of and access to the Interactive Brokers Client Portal Web API Gateway. You should prepare for breaks in connectivity to IBKR servers and should not depend on continuous uninterrupted run of the Gateway. IBeam requires your private credentials to be exposed to a security risk, potentially resulting in, although not limited to interruptions, loss of capital and loss of access to your account. To partially reduce the potential risk use Paper Account credentials.
IBeam is provided on an AS IS and AS AVAILABLE basis without any representation or endorsement made and without warranty of any kind whether express or implied, including but not limited to the implied warranties of satisfactory quality, fitness for a particular purpose, non-infringement, compatibility, security and accuracy. To the extent permitted by law, IBeam's authors will not be liable for any indirect or consequential loss or damage whatever (including without limitation loss of business, opportunity, data, profits) arising out of or in connection with the use of IBeam. IBeam's authors make no warranty that the functionality of IBeam will be uninterrupted or error free, that defects will be corrected or that IBeam or the server that makes it available are free of viruses or anything else which may be harmful or destructive.
Hi! Thanks for checking out and using this library. If you are interested in discussing your project, require mentorship, *** hiring me, or just wanna chat - I'm happy to talk.
You can send me an email to get in touch: ***
Or if you'd just want to give something back, I've got a Buy Me A Coffee account:
Thanks and have an awesome day 👋
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务