← 返回
效率工具 Key 中文

Vynn Backtester

Run trading strategy backtests with natural language — powered by Vynn
使用自然语言运行交易策略回测 — 由Vynn提供支持
beee003
效率工具 clawhub v1.0.0 1 版本 99896.7 Key: 需要
★ 0
Stars
📥 967
下载
💾 23
安装
1
版本
#latest

概述

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

  1. Get a free API key at the-vynn.com (10 backtests/month, no credit card)
  2. Set VYNN_API_KEY in your environment or skill config
  3. 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

VariableRequiredDescriptionDefault
------------
VYNN_API_KEYYesYour API key from the-vynn.com--
VYNN_BASE_URLNoOverride API base URL (for self-hosted instances)https://the-vynn.com/v1

External Endpoints

EndpointPurposeData Sent
---------
https://the-vynn.com/v1/backtestExecute a strategy backtestStrategy text, ticker list, lookback period
https://the-vynn.com/v1/signupFree API key registrationEmail address

Security & Privacy

  • All requests authenticated via X-API-Key header
  • 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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 07:16 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 440 📥 148,280
productivity

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 433 📥 103,882
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,998