Prophecy Trader — a self-learning stock and crypto paper-trading bot that never forgets

Educational simulator — paper trades only, never real orders. Not financial advice. Past simulation ≠ future results. Full disclaimer
DEMO-TECH hold
loading brain…
Prophecy Trader

1 · Market data

Bars
Range
Source

Live data is fetched only when you press Load/Refresh (Stooq for stocks, CoinGecko for crypto). Otherwise the bot runs fully in your browser. Uploaded CSVs never leave your device.

2 · Evolve the bot

Like Evolution Arena: strategies breed, mutate and compete. The all-time champion is kept forever — resetting the population never wipes the brain.

3 · Risk (paper)

4 · Paper autopilot

Readiness0 / 100

    Autopilot unlocks at readiness ≥ 60. On live symbols it polls for new prices; on loaded history it replays bar-by-bar so you can watch it trade.

    5 · Broker bridge (Alpaca paper)

    Bridgeoffline
    Paper equity
    Buying power
    US market
    Broker positions
    Broker fills0

    The paper endpoint is hardcoded — this page cannot reach real money, even with live keys. Secret is never saved or exported. Routes US stocks (market hours) + BTC/ETH (24/7) on live symbols only; replays stay simulated. Setup guide

    Generation 0
    Best fitness
    Champion (gen)
    Train return
    Test return
    vs buy & hold
    Test profit factor
    Test win rate
    Test max drawdown

    Reality check no data

    Train / test gap
    Calmar (ann / maxDD)
    Sortino (downside)
    Max losing streak
    % winning months
    Significance (p)
    After fees & tax
    Train the bot to compute honest stats. None of these predict the future.

    Paper account

    Equity
    Cash
    Positionflat
    Open P&L
    Paper trades0
    Paper win rate

    Brain (never forgets)

    Lessons0
    Patterns known0
    Trades studied0
    Saved
    Chart
    Fitness history
    Paper equity
    Net P&L
    High-water
    Max underwater
    Avg win
    Avg loss
    Win/Loss ratio
    #DateSidePriceQtyP&LConfWhy
    No paper trades yet — train the bot, then step bars or start autopilot.
    PatternSeenWin %Avg retMeaningTeach
    No lessons yet — every backtest and paper trade teaches the memory.
    Train the bot to see a plain-English description of what the champion actually does.
    Hall of fame will appear here.
    These tests are honesty checks, not predictions. A strategy that survives them on this data is less likely to be a fluke. Nothing here forecasts the future.

    Anchored OOS

    — / —
    Re-evaluates the same champion genome on data the bot has never seen (a slice held out from the start). Surviving ≥ 2 of 3 windows is hopeful.

    Cross-symbol sanity

    — / —
    Runs the champion on other symbols. A strategy that's only profitable on one symbol is almost certainly a fluke.

    Monte-Carlo max DD

    Reshuffles trade order 200×. The 95% number is the worst drawdown you should expect.
    Click Run anchored OOS to test the champion on data the bot has never trained on.
    Cross-symbol run will appear here.
    Read this first. Prophecy Trader is an educational simulator. It places no real orders, holds no money and connects to no broker. Nothing it shows is financial advice or a recommendation to buy or sell anything. Markets can and do take your money — most day traders lose. Past simulation performance does not predict future results.

    Train it in 4 steps

    1. Load data — start with a DEMO, then load a real stock (Stooq) or coin (CoinGecko), or upload a Yahoo Finance CSV.
    2. Train — press Train. A population of strategies competes; winners breed. Watch fitness climb and the test return (unseen data) — that is the honest number.
    3. Check the memory — the Lessons tab shows which market patterns paid. Use 👍 / 👎 to reinforce or punish a pattern yourself.
    4. Paper-trade — Step 1 bar to replay history, or start paper autopilot once readiness ≥ 60. Every fill is simulated with commission + slippage.

    How it learns (like Evolution Arena)

    Each strategy is a genome: weights on trend, momentum, RSI, MACD, Bollinger, volume and volatility, plus stop-loss, take-profit and position size. Fitness is measured by backtesting on the train slice; the all-time champion, the hall of fame and every pattern lesson persist in your browser forever — that is the “never forgets” memory. Export the brain JSON to back it up or move it to another device.

    Broker bridge — real paper orders via Alpaca

    1. Sign up free at alpaca.markets (paper trading is free worldwide, no brokerage account needed).
    2. In the dashboard, switch to your Paper Trading account and generate paper API keys.
    3. Paste the key ID + secret into section 5 above and press Connect.
    4. Load a live US stock (e.g. AAPL) or BTC/ETH, train until readiness ≥ 60, tick both routing boxes, start autopilot.
    5. Signals now execute as genuine paper orders through Alpaca's systems — fills appear in the Journal tagged ALPACA.

    Why not PayPal? PayPal is a payments app, not a broker: it offers no stock trading and no API for bots to trade with. Some brokers accept PayPal for deposits, but trading itself always happens through a broker's API — which is what this bridge uses, on the paper endpoint only.

    Could it trade real money one day?

    Honestly: this page alone never will, by design. Real automation would need a broker with an API, a server to hold the keys (never a browser page), and careful handling of UK tax and the FCA perimeter around investment activity. The realistic path is: months of profitable paper trading here → tiny-size live testing via a regulated broker's own tools → only then consider automation, ideally with professional advice. Anyone promising guaranteed bot profits is selling something.

    Reading the Reality Check panel (and the Stress test tab)

    Most of the time a "great" backtest is an accident. The new Reality Check panel shows a small battery of independent tests on the champion's out-of-sample slice:

    The Stress test tab adds three more checks. Anchored OOS re-runs the champion on data the GA has never trained on (a held-out slice from the very start); passing ≥ 2 of 3 windows is a hopeful sign. Cross-symbol sanity runs the same champion genome on entirely different synthetic series — a strategy that's only profitable on the original symbol is almost certainly overfit. Monte-Carlo reshuffles your trade order 200 times to estimate the worst drawdown you should expect even if the average is fine — the 95% number is the one to size your position around.

    The Brain tab now explains what the champion actually does

    Each champion is just a vector of numbers — feature weights, thresholds, position size. That's hard to interpret. The Brain tab now shows a plain-English summary that turns the genome into a sentence: "Entry: looks for trend + momentum + RSI to align, then enters moderately. Risk: moderate stops at 4%, small targets at 6%. Sizing: medium positions." Use it to sanity-check that the bot is doing something a human would actually do, not something only an optimisation algorithm could love.

    What changed in the fitness function

    The earlier fitness function rewarded raw annualised return very heavily (×200 in "profit" mode). That's exactly the knob that makes a GA find strategies that win big once and lose steadily. The new fitness treats return and max drawdown on equal footing, with a separate penalty for downside variance of per-trade returns. Practically: a strategy that makes 50% with a 60% maxDD is now scored worse than a strategy that makes 25% with a 15% maxDD, even though the first is "more impressive" in a screenshot.

    Tools · Music · Donate · Legal · Help & Contact · Data: Stooq (stocks, free) & CoinGecko (crypto, free). Uploaded files never leave your device.