Skip to main content
Glama
alexanimal

Tradovate MCP Server

by alexanimal

Tradovate MCP 서버

대장간 배지 코드코브 라이센스: MIT

Tradovate API와 상호 작용하기 위한 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 Tradovate에서 계약, 포지션, 주문 및 계정을 관리하는 도구를 제공합니다.

특징

  • Tradovate API를 통한 인증

  • 캐싱을 통한 실시간 데이터 페칭

  • 계약 세부 정보, 직위 관리, 주문 배치 등을 위한 도구

  • API를 사용할 수 없는 경우 시뮬레이션된 데이터로 대체

Related MCP server: Alpaca Trading MCP Server

설치

  1. 저장소를 복제합니다

  2. 종속성 설치:

지엑스피1

  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

사용 가능한 도구

서버는 다음과 같은 도구를 제공합니다.

  1. get_contract_details - 기호별로 특정 계약에 대한 세부 정보를 가져옵니다.

  2. list_positions - 계정의 위치 목록

  3. place_order - 새로운 주문하기

  4. modify_order - 기존 주문 수정

  5. cancel_order - 기존 주문 취소

  6. liquidate_position - 포지션 청산

  7. get_account_summary - 계정 요약 정보 가져오기

  8. 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 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    A 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.
    58
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol server that interfaces with Alpaca trading API, allowing users to manage portfolios, place trades, and access market data through natural language interactions.
    8
    36
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Implements a Model Context Protocol server that connects with Zerodha Kite API, allowing users to buy/sell stocks and retrieve holdings and positions information.
    1
  • F
    license
    B
    quality
    D
    maintenance
    A 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.
    8
    1

View all related MCP servers

Related MCP Connectors

  • A Model Context Protocol server for Wix AI tools

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • MCP server exposing the Backtest360 engine API as tools for AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexanimal/tradovate-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server