remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Manages environment variables for storing Tradovate API credentials and configuration.
Displays code coverage statistics for the project through a badge, showing test coverage percentage for the codebase.
Used for package management, dependency installation, and running scripts for building, testing, and starting the MCP server.
Tradovate MCP 서버
Tradovate API와 상호 작용하기 위한 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 Tradovate에서 계약, 포지션, 주문 및 계정을 관리하는 도구를 제공합니다.
특징
- Tradovate API를 통한 인증
- 캐싱을 통한 실시간 데이터 페칭
- 계약 세부 정보, 직위 관리, 주문 배치 등을 위한 도구
- API를 사용할 수 없는 경우 시뮬레이션된 데이터로 대체
설치
- 저장소를 복제합니다
- 종속성 설치:
지엑스피1
- Tradovate 자격 증명으로
.env
파일을 만듭니다.
용법
서버를 시작합니다:
또는 MCP Inspector와 함께 사용하세요.
개발
프로젝트 구조
src/index.ts
- 메인 서버 진입점src/auth.ts
- 인증 기능src/data.ts
- 데이터 가져오기 및 캐싱src/tools.ts
- MCP용 도구 핸들러src/types.ts
- TypeScript 유형 정의tests/
- 테스트 파일
건물
테스트
테스트 실행:
적용 범위를 사용하여 테스트 실행:
적용 범위 배지 생성:
사용 가능한 도구
서버는 다음과 같은 도구를 제공합니다.
get_contract_details
- 기호별로 특정 계약에 대한 세부 정보를 가져옵니다.list_positions
- 계정의 위치 목록place_order
- 새로운 주문하기modify_order
- 기존 주문 수정cancel_order
- 기존 주문 취소liquidate_position
- 포지션 청산get_account_summary
- 계정 요약 정보 가져오기get_market_data
- 시장 데이터(시세, DOM, 차트) 가져오기
API 엔드포인트
서버는 다음 Tradovate API 엔드포인트와 상호 작용합니다.
입증
/auth/accessTokenRequest
- 액세스 토큰 받기/auth/renewAccessToken
- 액세스 토큰 갱신
계약
/contract/list
- 모든 계약 나열/contract/find
- 특정 계약 찾기
위치
/position/list
- 모든 위치 나열
명령
/order/list
- 모든 주문 나열/order/placeOrder
- 새로운 주문하기/order/modifyOrder
- 기존 주문 수정/order/cancelOrder
- 기존 주문 취소/order/liquidatePosition
- 포지션 청산
계정
/account/list
- 모든 계정 나열/account/find
- 특정 계정 찾기/cashBalance/getCashBalanceSnapshot
- 계정의 현금 잔액을 가져옵니다.
시장 데이터
/md/getQuote
- 견적 데이터 가져오기/md/getDOM
- 시장 심층 데이터 가져오기/md/getChart
- 차트 데이터 가져오기
특허
MIT 라이센스
이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.
This server cannot be installed
거래 계약, 포지션, 주문 및 계정을 관리하기 위해 Tradovate API와 상호작용을 가능하게 하는 모델 컨텍스트 프로토콜 서버입니다.