Free · No account needed

Backtest trading ideas
before you risk real money.

Write your strategy in plain English. AlphaBack generates the code, runs it against 20 years of real market data, and returns actual metrics in seconds.

SMA 20/50 · AAPL · 2020–2024
Total Return
+31.4%
Sharpe Ratio
1.22
Max Drawdown
-13.8%
Win Rate
61%
2,400+ Members joined
14,000+ Backtests run
Free No credit card needed

Your AI strategy
testing command center.

AlphaBack · SMA 20/50 Crossover · AAPL 2020–2024
Total Return
+31.4%
Sharpe Ratio
1.22
Max Drawdown
-13.8%
Win Rate
61%

From idea
to results.

01
Describe.

Type your strategy the way you'd explain it to a friend. "Buy when the 20-day MA crosses above the 50-day, sell when RSI hits 70." No code syntax. Just plain English.

02
Generate.

AI writes the Python backtesting code instantly. You can see it, copy it, or just ignore it. Either way, it runs immediately against real historical data from Yahoo Finance.

03
Analyze.

Get a full performance report — equity curve, drawdown chart, Sharpe ratio, max drawdown, win rate, total trades. The numbers that tell you if your edge is real or just luck.

See the full walkthrough — every step, explained →

Simple. Powerful.
Transparent.

No code. Ever.
Type exactly what you'd do — "buy when RSI drops below 30, sell at 70" — and we write the code for you. You just read the results.
Real data, not toy examples.
Live prices from Yahoo Finance. Stocks, crypto, ETFs — whatever you want to test. No curated datasets, no survivorship bias hiding bad results.
Numbers that matter.
Win rate, max drawdown, Sharpe ratio, total trades. The stuff that separates a real edge from a lucky streak on a single good year.

Most traders lose
because they guess.

90%
of retail traders lose money
The number one reason: they act on hunches, tips, and emotions — not on data. A strategy that "felt right" is not a strategy. It's a guess with real money behind it.
20yr
of market data available instantly
Every strategy idea you have has already been tested by history. Bull runs, crashes, sideways years — the data is there. AlphaBack puts all of it at your fingertips in seconds.
~5s
to go from idea to real results
Professional quant funds spend weeks building backtests. AlphaBack compresses that into a text box and a button. Describe your strategy, press Run, get institutional-grade output.
0
lines of code you need to write
You do not need to know Python. You do not need to know pandas or backtesting.py. Our AI reads your plain English description and writes, runs, and reports everything automatically.

Every metric
your strategy needs.

Equity Curve
A full visual chart of your portfolio value over time. Instantly see when the strategy was working, when it wasn't, and how it compares to simply holding the index.
Sharpe Ratio
The single most important risk-adjusted return metric. A Sharpe above 1.0 means your returns outpace your volatility — the line between a real edge and lucky timing.
Max Drawdown
The worst peak-to-trough loss your strategy ever suffered. This is the number that tells you if you could have actually survived it — psychologically and financially.
Win Rate & Trade Log
See every individual trade — entry, exit, return — and your overall win percentage. Know exactly where your strategy makes money and where it bleeds it.
Stress Tests
Re-run your strategy against specific historical events — the 2020 crash, the 2022 bear, the 2008 crisis. See if it holds up when markets are at their worst.
Generated Python Code
Every backtest also shows the Python code that ran it. Copy it, modify it, run it locally. You own the output — it's never a black box.

Built for anyone
with a market theory.

Active Traders
You have a strategy. Now prove it actually works.
You trade regularly and you have rules — moving averages, momentum signals, breakout patterns. AlphaBack lets you test whether those rules actually produced an edge over the last decade, not just in the last month of gains.
"I thought my SMA crossover was reliable. The backtest showed it only worked in trending markets. That saved me a lot of money."
Long-term Investors
Compare buy-and-hold against any rule-based system.
Maybe you want to know if adding a simple trend filter to your S&P 500 position improves returns. Or whether rebalancing quarterly beats annual. AlphaBack gives you the actual numbers — not opinions.
"I tested 12 different entry strategies for my index fund. Turns out the simplest one beat them all."
Beginners & Students
Learn how markets actually behave — with real data.
No code required. Describe a classic strategy from a textbook — RSI divergence, golden cross, Bollinger Band squeeze — and immediately see how it performed in real history. Theory meets reality in seconds.
"The first backtest I ran showed me why 'buy the dip' alone doesn't work. Better lesson than any finance course."

The honest
comparison.

AlphaBack DIY Python TradingView Spreadsheets
Time to first backtest ~1 minute Days–weeks Hours Days
Coding required None Python + pandas Pine Script Formulas
Bar-by-bar engine (no look-ahead) Yes If you build it right Yes Easy to get wrong
Commissions & slippage modelled By default If you remember Manual setup Rarely
You can inspect the exact code Always shown It's yours Pine only
Code is portable (runs anywhere) Standard Python Yes Locked to platform
Cost to start Free Free + your weeks Paid for full tests Free

Being fair: if you're a working quant, your own Python gives you infinite flexibility — and AlphaBack hands you that exact starting code for free. If you live in TradingView charts, Pine Script is great at chart-first workflows. AlphaBack's job is the fastest honest path from "I have an idea" to "here's what history says about it."

See the full breakdown →

Everything you
might want to know.

Do I need to know how to code to use AlphaBack?
No. You describe your strategy in plain English and AlphaBack writes the Python code for you. You never need to see or touch the code — though it's always there if you want to inspect or copy it.
Where does the market data come from?
AlphaBack pulls real historical price data from Yahoo Finance via yfinance. This covers stocks, ETFs, indices, and crypto. Data goes back up to 20 years depending on the asset and includes OHLCV (open, high, low, close, volume).
What kinds of strategies can I test?
Any strategy expressible as rules — moving average crossovers, RSI-based entries, Bollinger Bands, MACD signals, momentum, mean reversion, buy-and-hold with trailing stops, and more. If you can describe it, AlphaBack can test it.
How accurate are the results?
Backtests use real historical prices and account for commissions and slippage by default. That said, past performance is not a guarantee of future results — backtesting shows you what *would have* happened, not what *will* happen.
Is it free?
Yes. AlphaBack is free to use. Run backtests, see full results, copy the generated code — no card required. More advanced features (saved strategy history, team workspaces) are planned for the future.
Read the full FAQ — 28 questions, honestly answered →

Stop guessing.
Start knowing.

No card required · Runs in your browser · Built on Python + backtesting.py

?
Home
Ready
?
Good to see you, there.
Here's your AlphaBack dashboard.
Backtests Run
0
All time
Best Return
Across all strategies
Strategies Saved
0
Ready to rerun
Ready to test an idea?
Describe your trading strategy in plain English —
AlphaBack writes the code and runs it against real market data.
Recent Backtests
No backtests yet.
Run your first strategy to see results here.
How it works
01
Describe
Write your strategy in plain English — no code needed.
02
Generate
AlphaBack writes the Python backtest and runs it on real market data.
03
Analyze
Read the equity curve, drawdown, Sharpe ratio and full trade log.
AAPL · $100K · 2020–2024 Enter to run · ·
Settings
Backtest Parameters
$
Risk Controls
100%
Strategy Presets
Profile
?

Your initials are generated from
your display name automatically.

Save Strategy
Give this strategy a short name to reuse it later.

New Strategy

Choose a market, set your parameters, then write your strategy.

Stocks
NASDAQ · NYSE · AMEX
Crypto
BTC · ETH · SOL · BNB
Forex
EUR/USD · GBP/USD · USD/JPY
Indices
SPY · QQQ · DIA · IWM
Configure
$
Indicators — optional