
以研究为核心的MCP服务器,用于tastytrade的历史市场数据和回测,包括回测API集成以及用于XSP/SPX和SPY期权回归测试的历史蜡烛。
概览
仅研究的模型上下文协议(MCP)服务器,用于tastytrade历史期权研究、有界实时标普/标标周期权证据、包价证据和策略回归测试。 该项目有意与官方 tastytrade/tastytrade-mcp 分开: - : 一般实时市场数据、账户工作流程及经纪商试运行验证 - : 历史蜡烛、回测访问、有界直接 SPX/SPXW Gamma+OI 快照、套餐定价研究及交易后填充验证 - : 经纪单下放、替换或取消 这些工具动态解析明确选定的传统IRA,屏蔽账户标识符,仅暴露经纪商GET请求。它们不使用近期/实时订单快照。请参见经纪商历史和面向对象审计,了解窗口语义、隐私、完整性、报价限制及合成FinPilot输入。工程设备仍为明确合成,非实时验收证据。
概述(AI 翻译)
仅供研究的模型上下文协议(MCP)服务器,用于tastytrade历史 期权研究、有界实时标普×标普×标普期权证据、包价 证据和策略回归测试。
该项目是有意与官方分开的 TastyTrade/TastyTrade-MCP:
- 官方tastytrade MCP:一般实时市场数据,账户工作流程, 以及经纪人试运行验证
- 本项目:历史蜡烛、回测访问、有界直接 SPX/SPXW Gamma+OI 快照、套餐定价研究及会后填充 验证
- 此处未曝光:经纪单下放、替换或 取消
MCP工具
提供者原生回测工具
| 工具 | 上游端点 | 目的 |
|---|---|---|
tastytrade_get_backtest_available_dates |
GET /available-dates |
探索符号与历史覆盖 |
tastytrade_list_backtests |
GET /backtests |
提交的研究职位列表 |
tastytrade_create_backtest |
POST /backtests |
提交提供者原生的历史策略 |
tastytrade_get_backtest |
GET /backtests/{id} |
轮询状态及检索结果 |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
tastytrade-research-mcp
Research-only Model Context Protocol (MCP) server for tastytrade historical options research, bounded live SPX/SPXW option evidence, package-price evidence, and strategy regression testing.
The project is intentionally separate from the official tastytrade/tastytrade-mcp:
- official tastytrade MCP: general live market data, account workflows, and broker dry-run validation
- this project: historical candles, Backtester access, bounded direct SPX/SPXW Gamma+OI snapshots, package-pricing research, and post-session fill verification
- never exposed here: brokerage order placement, replacement, or cancellation
MCP tools
Provider-native Backtester tools
| Tool | Upstream endpoint | Purpose |
|---|---|---|
tastytrade_get_backtest_available_dates |
GET /available-dates |
Discover symbols and historical coverage |
tastytrade_list_backtests |
GET /backtests |
List submitted research jobs |
tastytrade_create_backtest |
POST /backtests |
Submit a provider-native historical strategy |
tastytrade_get_backtest |
GET /backtests/{id} |
Poll status and retrieve results |
tastytrade_get_backtest_logs |
GET /backtests/{id}/logs |
Retrieve trials and execution logs |
tastytrade_cancel_backtest |
POST /backtests/{id}/cancel |
Cancel only a Backtester job |
tastytrade_simulate_trade |
POST /simulate-trade |
Simulate one exact historical trade |
Read-only broker history and OO audit
| Tool | Purpose |
|---|---|
tastytrade_get_historical_orders |
Paginated historical SPX/SPXW orders, all statuses, available lifecycle timestamps and explicit coverage |
tastytrade_get_historical_transactions |
Exact-decimal per-leg historical executions, transaction cash flows, fees and UTC/ET timestamps |
tastytrade_audit_oo_broker_orders |
OO-to-broker ID/leg correlation, attempts, independent call/put cash flows, evidence matrix and Traditional Chinese summary |
These tools dynamically resolve an explicitly selected Traditional IRA, mask account identifiers, and expose only broker GET requests. They do not use the recent/live order snapshot. See broker history and OO audit for window semantics, privacy, completeness, quote limitations, and a synthetic FinPilot input. Engineering fixtures remain explicitly synthetic, not live acceptance evidence. Authorized October 12–13 ET broker queries enumerated 59 orders and 76 transactions with complete provider-result pagination, not exhaustive lifecycle-event history. User-provided original OO Activity Log text for both days is now available privately and correlated through source-bound normalization. Its clocks have whole-second precision; ET is attributed to the user context, not embedded offsets. One October 12 exhaustion episode is identified; a second reported episode retains
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"tastytrade-research": {
"command": "node",
"args": ["/absolute/path/to/tastytrade-research-mcp/dist/index.js"],
"env": {
"TASTYTRADE_CLIENT_ID": "...",
"TASTYTRADE_CLIENT_SECRET": "...",
"TASTYTRADE_REFRESH_TOKEN": "..."
}
}
}
}