vynn-backtester
Run trading strategy backtests with natural language — powered by Vynn
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- vynn-backtester
- tags
- [ "backtest", "trading", "quant", "finance", "strategy", "stocks", "portfolio", "alpha" ]
- version
- 1.0.0
- homepage
- https://the-vynn.com
- metadata
- { "clawdbot": { "emoji": "📈", "files": [ "plugin.py", "config.example.toml" ], "requires": { "env": [ "VYNN_API_KEY" ] }, "primaryEnv": "VYNN_API_KEY" } }
- description
- Run trading strategy backtests with natural language — powered by Vynn
03 SKILL.md 正文
Vynn Backtester
Backtest any trading strategy with natural language. Get Sharpe ratio, returns, drawdown, and full equity curves in seconds.
What it does
- Natural language strategies: Describe your strategy in plain English and Vynn translates it into a runnable backtest
- Structured strategies: Power users can pass precise entry/exit rules as JSON
- Full metrics: Sharpe ratio, total return, max drawdown, win rate, trade count, and equity curve
- Multi-ticker: Backtest across any combination of stocks, ETFs, or indices
- Strategy comparison: Compare multiple strategies head-to-head, ranked by Sharpe ratio
- No infrastructure: No local data downloads, no dependencies beyond Python stdlib
Setup
- Get a free API key at the-vynn.com (10 backtests/month, no credit card)
- Set
VYNN_API_KEYin your environment or skill config - Run
/backtest "your strategy here"from any OpenClaw agent
Quick start
# Sign up (instant, returns your API key)
curl -X POST https://the-vynn.com/v1/signup -H "Content-Type: application/json" -d '{"email": "you@example.com"}'
# Set the key
export VYNN_API_KEY="vynn_free_..."
Usage examples
Simple natural language backtest
/backtest "RSI mean reversion on AAPL, 2 year lookback"
Momentum strategy
/backtest "MACD crossover on SPY with 20/50 EMA filter"
Multi-ticker portfolio
/backtest --tickers AAPL,MSFT,GOOGL --strategy "momentum top 3"
Structured entry/exit rules
/backtest '{"entries": [{"indicator": "RSI", "op": "<", "value": 30}], "exits": [{"indicator": "RSI", "op": ">", "value": 70}]}' --tickers AAPL
Compare strategies
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}%")
Environment Variables
| 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 |
External Endpoints
| 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 |
Security & Privacy
- All requests authenticated via
X-API-Keyheader - Strategy descriptions and ticker lists are sent to the Vynn API for backtest execution
- No trading data, portfolio holdings, or personal information is stored beyond the backtest run
- Backtest results are ephemeral and not persisted on Vynn servers
- No credentials are stored by the skill -- only your API key in environment variables
- Source code is fully open: github.com/beee003/astrai-openclaw
Model Invocation
This 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.
Pricing
- Free: 10 backtests/month, all features, no credit card required
- Pro ($29/mo): Unlimited backtests, priority execution, extended lookback periods
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.