TickTest

io.github.shakagoldPublished by GitHub account shakagoldv0.4.1Updated Oct 24, 2026

A股量化回测 MCP Server — AI Agent 用自然语言回测 A 股。¥0.5/次,¥1 体验卡,¥19 月卡,海龟永久免费。

VerifiedSTDIODesktop onlyFinanceData & Analytics

Overview

AI-generated overview

TickTest lets an AI assistant run natural-language quantitative backtests on China A-share stocks through the TickTest API, with paid per-run and subscription…

What you can do
  • Look up service capabilities, pricing and registration flow, and check API health
  • Search A-share stock symbols by name or code
  • Validate strategy parameters for free before running anything
  • Run backtests and get returns, Sharpe ratio, drawdown and win rate
  • Generate payment pages for single-run, trial-day and monthly plans
When to use it
Useful when you want an assistant to test trading strategies on China A-share data in conversation, for example backtesting a turtle-trading strategy on a named stock, without writing your own backtest code.
Requirements
A local Python environment with the ticktest-mcp package installed (pip install ticktest-mcp), configured as a stdio server in the client. A TickTest account and API key in TICKTEST_API_KEY for anything beyond the public read-only tools; TICKTEST_API_URL and TICKTEST_BACKTEST_TIMEOUT are optional. Network access to the TickTest API.
Before you install
Backtests beyond the free turtle strategy cost money: ¥0.50 per run, ¥1 trial card, ¥19 monthly card, drawn from credits; the create_payment tool produces payment pages. The API key is a secret passed via TICKTEST_API_KEY. The README describes an in-chat registration flow where the assistant asks for your email and a 6-digit verification code, so decide whether you want that shared in the conversation. Strategy data and requests go to a third-party service.

Installation

In SourceWeft

  1. Open TickTest in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

TickTest MCP Server

让 AI Agent(Claude Code、Cursor、Windsurf 等)通过 MCP 协议直接调用 TickTest A 股量化回测 API。

安装

bash
pip install ticktest-mcp

配置

Claude Code

在 .claude/mcp.json 或项目根目录 .mcp.json 中添加:

json
{  "mcpServers": {    "ticktest": {      "command": "python",      "args": ["-m", "ticktest_mcp"],      "env": {        "TICKTEST_API_URL": "https://api.ticktest.cn",        "TICKTEST_API_KEY": "tt_your_api_key_here"      }    }  }}

Cursor / Windsurf

在 MCP 配置中添加:

json
{  "mcpServers": {    "ticktest": {      "command": "ticktest-mcp",      "env": {        "TICKTEST_API_URL": "https://api.ticktest.cn",        "TICKTEST_API_KEY": "tt_your_api_key_here"      }    }  }}

获取 API Key

无需离开对话,Agent 会帮你完成注册:

  1. Agent 询问你的邮箱
  2. Agent 调用 send-code → 你收到 6 位验证码
  3. 告诉 Agent 验证码 → 注册成功,拿到 API Key + 500 信用点
  4. Agent 配置 Key,开始回测

Tools

Tool认证说明
get_capabilities公开获取策略、因子、定价、注册流程
health_check公开检查 API 服务状态
search_symbols公开搜索 A 股股票代码
validate_strategy需 Key免费验证策略参数
run_backtest需 Key运行回测,¥0.50/次
create_payment需 Key生成三卡支付页:¥0.50 单次 / ¥1 体验卡 / ¥19 月卡

快速体验

海龟交易策略永久免费,无需付费:

Agent: 帮我回测中际旭创,海龟交易→ 自动搜索 sz300308 → 回测 → 返回收益率/夏普/回撤/胜率

定价

  • 单次回测:¥0.50(25 信用点)
  • 畅测体验卡:¥1(24 小时回测不限次,新人限购 1 次)
  • 畅测月卡:¥19(30 天回测不限次,真·不限次仅并发≤2)
  • 注册送 500 信用点(≈ 20 次)
  • 海龟交易:永久免费

环境变量

变量必填说明
TICKTEST_API_URL否API 地址,默认 https://api.ticktest.cn
TICKTEST_API_KEY否API Key,不配则只能调公开 Tool
TICKTEST_BACKTEST_TIMEOUT否回测超时秒数,默认 90

License

MIT

Source: README.md at commit ab7f396

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

2
  1. v0.4.1LatestOct 7, 2026
  2. v0.3.1Sep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts