Run trading strategy backtests with natural language — powered by Vynn
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install vynn-backtester或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install vynn-backtester⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/vynn-backtester/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: vynn-backtester description: Run trading strategy backtests with natural language — powered by Vynn version: 1.0.0 homepage: https://the-vynn.com metadata: clawdbot: emoji: "📈" requires: env: ["VYNN_API_KEY"] primaryEnv: "VYNN_API_KEY" files: ["plugin.py", "config.example.toml"] tags: [backtest, trading, quant, finance, strategy, stocks, portfolio, alpha] ---
Backtest any trading strategy with natural language. Get Sharpe ratio, returns, drawdown, and full equity curves in seconds.
VYNN_API_KEY in your environment or skill config/backtest "your strategy here" from any OpenClaw agent# Sign up (instant, returns your API key)
curl -X POST https://the-vynn.com/v1/signup -H "Content-Type: application/json" -d '{"email": "[email protected]"}'
# Set the key
export VYNN_API_KEY="vynn_free_..."
/backtest "RSI mean reversion on AAPL, 2 year lookback"
/backtest "MACD crossover on SPY with 20/50 EMA filter"
/backtest --tickers AAPL,MSFT,GOOGL --strategy "momentum top 3"
/backtest '{"entries": [{"indicator": "RSI", "op": "<", "value": 30}], "exits": [{"indicator": "RSI", "op": ">", "value": 70}]}' --tickers AAPL
from plugin import VynnBacktesterPlugin
vynn = VynnBacktesterPlugin()
results = vynn.compare(
strategies=[
"RSI mean reversion",
"MACD crossover",
"Bollinger band breakout",
],
tickers=["SPY"],
)
for r in results:
print(f"{r.strategy}: Sharpe={r.sharpe_ratio}, Return={r.total_return_pct}%")
| Variable | Required | Description | Default | |---|---|---|---| | VYNN_API_KEY | Yes | Your API key from the-vynn.com | -- | | VYNN_BASE_URL | No | Override API base URL (for self-hosted instances) | https://the-vynn.com/v1 |
| Endpoint | Purpose | Data Sent | |---|---|---| | https://the-vynn.com/v1/backtest | Execute a strategy backtest | Strategy text, ticker list, lookback period | | https://the-vynn.com/v1/signup | Free API key registration | Email address |
X-API-Key headerThis skill does not invoke any LLM models. It sends strategy descriptions to the Vynn backtest engine, which is a quantitative execution engine (not an AI model). No prompts or completions are generated.
安装 Vynn Backtester 后,可以对 AI 说这些话来触发它
Help me get started with Vynn Backtester
Explains what Vynn Backtester does, walks through the setup, and runs a quick demo based on your current project
Use Vynn Backtester to run trading strategy backtests with natural language — powered by Vynn
Invokes Vynn Backtester with the right parameters and returns the result directly in the conversation
What can I do with Vynn Backtester in my finance & investment workflow?
Lists the top use cases for Vynn Backtester, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/vynn-backtester/ 目录(个人级,所有项目可用),或 .claude/skills/vynn-backtester/(项目级)。重启 AI 客户端后,用 /vynn-backtester 主动调用,或让 AI 根据上下文自动发现并使用。
Vynn Backtester 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Vynn Backtester 可免费安装使用。请查阅仓库了解许可证信息。
Run trading strategy backtests with natural language — powered by Vynn
Vynn Backtester 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using Vynn Backtester
Identifies repetitive steps in your workflow and sets up Vynn Backtester to handle them automatically