Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

petercool/ib-cp-gateway-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains a Dockerized version of the Interactive Brokers Client Portal Web API Gateway. It provides a containerized solution for running the IB Gateway, making it easier to deploy and manage in various environments.

Features

  • Dockerized IB Gateway
  • Multi-architecture support (amd64/arm64)
  • Automated builds via GitHub Actions
  • Volume mounting for configuration
  • Easy deployment with Docker Compose

Prerequisites

  • Docker
  • Docker Compose
  • Interactive Brokers account

Quick Start

  1. Clone this repository:
git clone https://github.com/petercool/ib-cp-gateway-docker.gitcd ib-cp-gateway-docker
  1. Start the container:
docker compose up -d

The gateway will be available athttp://localhost:8000

Configuration

The gateway configuration is managed throughroot/conf.yaml. Mount this file as a volume to customize the settings:

# Example configuration in docker-compose.ymlvolumes:  -./ib_cp_gateway/root:/app/root

Building Locally

To build the Docker image locally:

docker compose build

Environment Variables

No environment variables are required for basic operation. All configuration is handled through theconf.yaml file.

Security Considerations

  • The gateway runs on port 8000 by default
  • Consider implementing additional security measures when deploying to production
  • Follow IB's security best practices for API usage

Development

OpenAPI Documentation

To format the OpenAPI documentation in a more readable way, you can use the following command:

yqeval -P ./docs/openapi.yml> ./docs/openapi.pretty.yml

This command creates a prettified version of the OpenAPI specification.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Interactive Brokers for providing the Client Portal Web API
  • Docker for containerization support
  • GitHub Actions for CI/CD capabilities

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp