Skip to content
Skillv1.0.0

vynn-backtester

Run trading strategy backtests with natural language — powered by Vynn

by javimosch(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from javimosch/open-claw-skills (skills/beee003/vynn-backtester/SKILL.md). Install upstream with npx skills add javimosch/open-claw-skills --skill vynn-backtester. Copyright stays with the author.

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

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-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

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/javimosch-open-claw-skills-vynn-backtester/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

javimosch-open-claw-skills-vynn-backtester.ocm.jsonjson
{
  "ocm": "1",
  "id": "javimosch-open-claw-skills-vynn-backtester",
  "kind": "skill",
  "name": "vynn-backtester",
  "description": "Run trading strategy backtests with natural language — powered by Vynn",
  "publisher": "javimosch",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "backtest",
      "trading",
      "quant",
      "finance",
      "strategy",
      "stocks",
      "portfolio",
      "alpha",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Run trading strategy backtests with natural language — powered by Vynn"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/javimosch/open-claw-skills",
      "path": "skills/beee003/vynn-backtester/SKILL.md",
      "ref": "f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db",
      "url": "https://github.com/javimosch/open-claw-skills/blob/f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db/skills/beee003/vynn-backtester/SKILL.md",
      "key": "javimosch/open-claw-skills/skills/beee003/vynn-backtester/SKILL.md"
    }
  },
  "instructions": "# Vynn Backtester\n\nBacktest any trading strategy with natural language. Get Sharpe ratio, returns, drawdown, and full equity curves in seconds.\n\n## What it does\n\n- **Natural language strategies**: Describe your strategy in plain English and Vynn translates it into a runnable backtest\n- **Structured strategies**: Power users can pass precise entry/exit rules as JSON\n- **Full metrics**: Sharpe ratio, total return, max drawdown, win rate, trade count, and equity curve\n- **Multi-ticker**: Backtest across any combination of stocks, ETFs, or indices\n- **Strategy comparison**: Compare multiple strate",
  "cost": {
    "context_tokens": 879
  }
}

Fetch it by URL: GET /api/v1/registry/javimosch-open-claw-skills-vynn-backtester/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.