
rcontesti/ib_mcp
API development이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
이 프로젝트는 모델 컨텍스트 프로토콜(MCP)을 사용하여 인터랙티브 브로커(IB) API 인터페이스를 제공합니다.
개요
이 프로젝트는 현재 활발히 개발 중입니다. 기능이 완성되지 않았을 수 있으며, 중단된 변경이 발생할 수 있습니다. 이 프로젝트는 Interactive Brokers Web API만을 기반으로 구축되었으며, 이는 의도적인 설계 선택입니다. TWS API가 강력하지만, 웹 API는 이 프로젝트의 목표를 위한 보다 현대적이고 유연한 기반을 제공합니다. 간단히 말하면, WEB API는 더 포괄적으로 계획되어 있습니다. 여기서 더 포괄적이라는 것은 계정 관리, 특히 보고 기능을 같은 곳으로 통합한다는 뜻입니다. 두 가지 중요한 이유는 다음과 같습니다: 1. 웹 API는 독립 실행형입니다. TWS 데스크톱 소프트웨어나 IB 게이트웨이를 실행할 필요가 없습니다. 2. 모델 컨텍스트 프로토콜(MCP)은 TCP/IP 소켓보다 HTTPS 통신 위에 구축하기 쉽습니다. 세 가지 이유가 있습니다: 1. WEB API는 베타 버전입니다 (제한사항 참조) 2. TWS는 거래에 더 빠르고 신뢰할 수 있습니다. 3. TWS는 WEB API에 없는 일부 거래 기능을 가지고 있습니다.
개요(AI 번역)
[! 참고]
프로젝트 현황
이 프로젝트는 현재 활발히 개발 중입니다. 기능이 불완전할 수 있으며, 변경될 수 있습니다.
동기
이 프로젝트는 Interactive Brokers Web API만을 기반으로 구축되었으며, 이는 의도적인 설계 선택입니다. TWS API가 강력하지만, 웹 API는 이 프로젝트의 목표를 위한 보다 현대적이고 유연한 기반을 제공합니다.
TWS API MCP vs. 웹 API MCP 중 어느 쪽이 좋을까요?
왜 TWS API를 사용하지 않는가? 간단히 말해, 웹 API는 더 포괄적으로 설계될 예정입니다. 더 포괄적이라는 것은 계정 관리, 특히 보고 기능을 같은 곳으로 통합한다는 뜻입니다. 다른 두 가지 중요한 이유는 다음과 같습니다: 1. 웹 API는 독립 실행형입니다. TWS 데스크톱 소프트웨어나 IB 게이트웨이를 실행할 필요가 없습니다. 2. 모델 컨텍스트 프로토콜(MCP)은 TCP/IP 소켓보다 HTTPS 통신 위에 구축하기 쉽습니다.
더 포괄적이라면 왜 WEB API만 사용하지 않나요? 세 가지 이유가 있습니다: 1. 웹 API는 베타 버전입니다 (제한사항 참조) 2. TWS는 거래에 더 빠르고 신뢰할 수 있습니다. 3. TWS는 웹 API에 없는 일부 거래 기능을 가지고 있습니다.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
[!Note]
Project Status
This project is currently under active development. Features may be incomplete, and breaking changes may occur.
Motivation
This project is built exclusively on the Interactive Brokers Web API, and this is a deliberate design choice. While the TWS API is powerful, the Web API provides a more modern and flexible foundation for the goals of this project.
TWS API MCP vs. WEB API MCP?
Why not using the TWS API? The short answer is that the WEB API is planned to be more comprehensive. By more comprehensive I mean, it brings account management, specifically reporting, into the same place. The two other important reasons are: 1. The Web API is standalone. It does not require you to run the TWS desktop software or IB Gateway. 2. Model context protocols (MCPs) are easier to build on top of HTTPS communication rather than TCP/IP sockets.
If it is more comprehensive why not using just the WEB API? Three reasons: 1. WEB API is in beta (see Limitations) 2. TWS is faster and more reliable for trading. 3. TWS has some trading functionalities that the WEB API does not have.
While other projects act as a “bridge” to make the TWS API look like a web API, they introduce an unofficial, third-party dependency. This project avoids that risk by using the official IBKR Web API directly, ensuring better long-term stability and support.
In summary:
- If you need fast and reliable trading go with TWS API
- If you need a more comprehensive and cloud ready solution go with the WEB API
For a more detailed, side-by-side breakdown, please see the TWS vs. Web API Comparison section.
Table of Contents
설치
docker run -i --rm mcp/time