Tradovate MCP Server
Tradovate MCP 서버
Tradovate API와 상호 작용하기 위한 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 Tradovate에서 계약, 포지션, 주문 및 계정을 관리하는 도구를 제공합니다.
특징
Tradovate API를 통한 인증
캐싱을 통한 실시간 데이터 페칭
계약 세부 정보, 직위 관리, 주문 배치 등을 위한 도구
API를 사용할 수 없는 경우 시뮬레이션된 데이터로 대체
Related MCP server: Zerodha Kite MCP Server
설치
저장소를 복제합니다
종속성 설치:
지엑스피1
Tradovate 자격 증명으로
.env파일을 만듭니다.
TRADOVATE_API_ENVIRONMENT=demo
TRADOVATE_USERNAME=your_username
TRADOVATE_PASSWORD=your_password
TRADOVATE_APP_ID=Sample App
TRADOVATE_APP_VERSION=1.0
TRADOVATE_CID=your_cid
TRADOVATE_SEC=your_sec용법
서버를 시작합니다:
npm start또는 MCP Inspector와 함께 사용하세요.
npm run inspector개발
프로젝트 구조
src/index.ts- 메인 서버 진입점src/auth.ts- 인증 기능src/data.ts- 데이터 가져오기 및 캐싱src/tools.ts- MCP용 도구 핸들러src/types.ts- TypeScript 유형 정의tests/- 테스트 파일
건물
npm run build테스트
테스트 실행:
npm test적용 범위를 사용하여 테스트 실행:
npm run test:coverage적용 범위 배지 생성:
npm run coverage:badge사용 가능한 도구
서버는 다음과 같은 도구를 제공합니다.
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 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
Model Context Protocol server for todo.vu task management and time tracking.
Model Context Protocol server for Studex tools, notifications, and profile integrations
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceA server that implements the Model Context Protocol for Schwab API, allowing access to account information, positions, stock quotes, and order/transaction history designed for integration with Large Language Models.72MIT
- AlicenseNot gradedqualityDmaintenanceImplements a Model Context Protocol server that connects with Zerodha Kite API, allowing users to buy/sell stocks and retrieve holdings and positions information.1ISC
- FlicenseBqualityDmaintenanceA Model Context Protocol server that enables users to interact with Polygon.io API for retrieving financial market data including ticker details, quotes, aggregates, market status and news.81-
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that integrates with Zerodha APIs for automated trading, providing tools for authentication, market data retrieval, order placement, and portfolio management.MIT