WHAT IT CONNECTS
alexanimal tradovate mcp server 为 AI Agent 提供什么
- Authentication with Tradovate API
- Real-time data fetching with caching
- Tools for contract details, position management, order placement, and more
- Fallback to simulated data when API is unavailable
- Clone the repository
- Install dependencies:
- Create a `.env` file with your Tradovate credentials:
- `src/index.ts` - Main server entry point
- `src/auth.ts` - Authentication functions
- `src/data.ts` - Data fetching and caching
- `src/tools.ts` - Tool handlers for MCP
- `src/types.ts` - TypeScript type definitions
- `tests/` - Test files
- `get_contract_details` - Get details for a specific contract by symbol
- `list_positions` - List positions for an account
- `place_order` - Place a new order
- `modify_order` - Modify an existing order
- `cancel_order` - Cancel an existing order
- `liquidate_position` - Liquidate a position
- `get_account_summary` - Get account summary information
- `get_market_data` - Get market data (quotes, DOM, charts)
- `/auth/accessTokenRequest` - Get access token
- `/auth/renewAccessToken` - Renew access token
- `/contract/list` - List all contracts
- `/contract/find` - Find a specific contract
- `/position/list` - List all positions
- `/order/list` - List all orders
- `/order/placeOrder` - Place a new order
- `/order/modifyOrder` - Modify an existing order
- `/order/cancelOrder` - Cancel an existing order
- `/order/liquidatePosition` - Liquidate a position
- `/account/list` - List all accounts
- `/account/find` - Find a specific account
- `/cashBalance/getCashBalanceSnapshot` - Get cash balance for an account
- `/md/getQuote` - Get quote data
- `/md/getDOM` - Get depth of market data
- `/md/getChart` - Get chart data
SECURITY
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。