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. 依存関係をインストールします:

npm install
  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 ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。

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