Skip to main content

Trading edge discovery. Test any idea with real market data.

Project description

VARRD — Trading Edge Discovery

You can ask any AI to backtest a trading strategy. It will happily do it. The results will look great. And they will be wrong.

Not wrong like "off by a little." Wrong like "the edge never existed and you'll find out with real money."

Quantitative testing is full of invisible landmines — dozens of statistical biases, penalties, and correctional procedures that determine whether a result is real or an artifact of how you tested it. Things like what must be penalized when you test multiple variations. What can and can't be tested on the same data. When a result that looks significant is actually meaningless. How to tell the difference between a strategy that works and a strategy that just happened to overlap with a bull market. Why looking at your out-of-sample results "just to check" permanently contaminates them.

Professional quants at top firms spend years learning these rules. Most of them still get it wrong sometimes. When you ask an AI to "backtest this strategy," it skips all of it. Not maliciously — it just doesn't know what it doesn't know. And neither do you. That's the problem.

VARRD is a quant research system built on the statistical framework that institutional firms use internally. Every bias accounted for. Every penalty applied. Every checkpoint enforced — not by documentation or best practices, but by the structure of the system itself. You literally cannot skip the steps that need to happen, because the workflow won't let you.

You bring a messy idea in plain English. VARRD does the math and gives you a verdict: edge or no edge — with exact entry, stop-loss, and take-profit prices. If the edge is real, you'll know. If it's not, you'll know that too — and you found out for 25 cents instead of $25,000 in live losses.

pip install varrd

Why This Matters

There are things in quantitative testing that are near-invisible to the human eye. Not complex — invisible. The kind of stuff that a PhD statistician catches on instinct after 15 years, that a trader learns the hard way after blowing up twice, that a quant at Citadel takes for granted but never explains because it's just "how things are done."

Things like:

  • Why testing 5 RSI thresholds and picking the best one isn't the same as testing 1
  • Why a strategy that "beats the market" might actually be behind the market
  • Why every formula tweak is a statistical test, whether you think of it that way or not
  • Why your out-of-sample validation becomes worthless the moment you use it to make a decision
  • Why the number of observations matters in ways that aren't obvious
  • Why significance at one horizon says nothing about significance at another

These aren't advanced topics. They're table stakes. And if even one of them is handled wrong, the whole result is unreliable.

VARRD handles all of them. Automatically. Invisibly. You don't configure anything. You don't set penalty parameters. You don't choose which corrections to apply. The system knows what needs to happen at each stage of research and it does it — the same way a quant at a top firm would, except it never forgets a step and it never cuts corners because it's 4pm on a Friday.

You don't need to know what any of this means. That's the point.


Quick Start — Python

from varrd import VARRD

v = VARRD()  # auto-creates free account

# What's firing right now?
signals = v.scan(only_firing=True)
for s in signals.results:
    print(f"{s.name}: {s.direction} {s.market} @ ${s.entry_price}")

# Research a trading idea
r = v.research("When RSI drops below 25 on ES, is there a bounce?")
r = v.research("test it", session_id=r.session_id)
print(r.context.has_edge)       # True / False
print(r.context.edge_verdict)   # "STRONG EDGE" / "NO EDGE" / etc.

# Get the trade setup
r = v.research("show me the trade setup", session_id=r.session_id)

Quick Start — CLI

# Check what's actionable now
varrd scan --only-firing

# Research an idea (auto-follows the workflow)
varrd research "When wheat drops 3 days in a row, is there a snap-back?"

# Search your saved strategies
varrd search "momentum on grains"

# Let VARRD discover edges autonomously
varrd discover "mean reversion on futures"

# Check credits
varrd balance

Quick Start — MCP (Claude Desktop / Claude Code / Cursor)

Add to your MCP config:

{
  "mcpServers": {
    "varrd": {
      "transport": {
        "type": "streamable-http",
        "url": "https://app.varrd.com/mcp"
      }
    }
  }
}

That's it. Your AI can now scan strategies, research ideas, and get trade setups — with all the statistical guardrails enforced automatically.


What You Get Back

Edge Found

STRONG EDGE: Statistically significant vs both zero and market baseline.
The pattern produces real returns that beat market drift.

  Direction: LONG
  Win Rate:  62%
  Sharpe:    1.45
  Trades:    247
  K:         3 (tests run on this hypothesis)

  Trade Setup:
    Entry:       $5,150.25
    Stop Loss:   $5,122.00
    Take Profit: $5,192.50
    Risk/Reward: 1.5:1

No Edge

NO EDGE: Neither test passed — no tradeable signal found.

This is a valid result. Knowing what doesn't work saves you money.
Most ideas don't have edges. That's normal and that's the whole point —
you found out for 25 cents instead of $25,000 in live losses.

The Research Flow

Your idea (plain English)
    |
    v
  Chart pattern — see the actual signals on real price data
    |
    v
  You approve — sanity check before spending statistical power
    |
    v
  Statistical test — event study or backtest with proper controls
    |                 (K increments, fingerprints logged)
    |
    v
  Edge verdict:  STRONG EDGE — beats zero AND beats market
                 MARGINAL    — beats zero, doesn't clearly beat market
                 NO EDGE     — no signal found
    |
    v
  Trade setup — exact dollar entry, stop-loss, take-profit

A typical session is 3-5 turns. Each response includes context.next_actions (what to say next) and context.has_edge (when you're done).

Tools

Tool Cost Description
scan Free Scan strategies against live data. What's firing right now?
search Free Find saved strategies by keyword or natural language.
get_hypothesis Free Full details on a specific strategy.
balance Free Check credit balance.
reset Free Kill a stuck research session.
research ~20-30c Multi-turn research with VARRD AI. You drive the conversation.
discover ~20-30c Autonomous edge discovery. VARRD drives.

Data Coverage

Asset Class Markets Timeframes
Futures (CME) ES, NQ, CL, GC, SI, ZW, ZC, ZS, ZB, TY, HG, NG + more 1h and above
Stocks/ETFs Any US equity Daily
Crypto (Binance) BTC, ETH, SOL + more 10min and above

Pricing

  • Free tools: scan, search, get_hypothesis, balance, reset
  • Research: ~20-30 cents per complete workflow (idea through trade setup)
  • ELROND council (8 expert investigators): ~40-60 cents
  • Multi-market (3+ markets): can reach ~$1
  • New accounts get free credits to start

Examples

See the examples/ directory:

For AI Agents

See AGENTS.md for a structured guide with complete tool reference, response formats, and integration patterns. Designed to be read by LLMs.


Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

varrd-0.1.0.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

varrd-0.1.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file varrd-0.1.0.tar.gz.

File metadata

  • Download URL: varrd-0.1.0.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for varrd-0.1.0.tar.gz
Algorithm Hash digest
SHA256 890075b03662428f3af172707b86009c7e114240d54e384d2ea51b2602fa6776
MD5 bca0d52f18aeb061981165a8dbc1e05d
BLAKE2b-256 1ab83ab1dc0f2b92905f0e5c844c74b04640ca94f4fe308fe27ad54e232fdc3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for varrd-0.1.0.tar.gz:

Publisher: publish.yml on augiemazza/varrd

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file varrd-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: varrd-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for varrd-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3775f5db7e704c3c1e3baa5bc80c3aa4e5b935cb4af0c9062ff7959920148639
MD5 b4bf01713f627eb1fcfd2ee55d15d15a
BLAKE2b-256 433ad8905c67f4de4ce91070eb6f6bdec64b8e958d6b6a189904bd37ded6b6f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for varrd-0.1.0-py3-none-any.whl:

Publisher: publish.yml on augiemazza/varrd

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page