UNDERFITTED/LAB<GO>
NY --:--
LIVE
Building in public · live on prop-firm evaluations

Most of myideas fail.Here are the receipts.

I write software, and since June 2026 I've been teaching myself quantitative research by building a trading system from scratch: data, research, risk and live execution. It now trades prop-firm evaluations, with position sizing solved for their rules. This is my working log. Every number on it comes from my own code, including the failures. The strategy rules stay private.

~/lab $ git log --research9 entries
  1. ml/grid-search16 runs · winners picked on 11–14 tradesrejected
  2. idea/fvg-macro-times~250,000 signals · deflated Sharpe 0.00rejected
  3. idea/viral-scalperSharpe 0.03 at zero cost, −5.64 after spreadrejected
  4. idea/ndx-intradaySharpe 1.35 · t-stat 4.03 · 8.9 yearssurvived
  5. prop/sizing-policy15,372 states solved · checked by Monte Carlobuilt
  6. live/post-mortem2 evaluations lost · config + clock bugfixed
  7. eval/phase-1+10.2% target in a single tradepassed
  8. live/parity-audit22,994 decisions · 99.54% matchtested
  9. statuslive · automated · flat every nightrunning
4.5M

Minute bars of Nasdaq-100 history under the backtest

15,372

Sizing decisions solved in advance for the prop-firm rules, one per account state

114

Configurations logged, and every one counted against the result

99.54%

Of 22,994 decisions where the live code matches the backtest

The log

Six months, in order

Each entry is something I built, tested or broke, with the numbers that decided it. Three ideas died, one survived, and going live on prop-firm evaluations taught me more than all of them.

  1. Jun–Jul2026
    rejected

    I started with machine learning. It found nothing.

    Three tree models (LightGBM, random forest and XGBoost) on one-minute EUR/USD data, across 16 grid-search runs. The best settings were chosen on validation windows of 11 to 14 trades. A sample that small can't separate skill from luck, so I stopped.

    LessonA better model can't rescue a question the data can't answer.
    3model families16grid-search runs11–14trades per validation window
  2. 25 Jul2026
    built

    Starting over, properly

    First commit of the codebase I use today. Settings live in config files, each module does one job, and research code is written so the live bot can reuse it later.

    LessonResearch code becomes production code sooner than you plan for.
    78commits so far100+automated tests
  3. Sep2026
    rejected

    A popular retail pattern, tested on ~250,000 signals

    Fair value gaps in the macro-time windows, a setup shared widely online. I wrote the test protocol before seeing any results, then checked two indices, three separate time periods, placebo windows and a random-direction control. None of the 24 exit rules made money after costs. The best one lost 0.17R per trade, with a t-stat of −8.3.

    LessonIf the average move after a signal is zero, no stop-loss or take-profit can create an edge. They only change the shape of the losses.
    ~250ksignals0 / 24exit rules profitable0.00deflated Sharpe
  4. Sep2026
    rejected

    A viral scalping script, run on eight years of data

    I rebuilt a popular TradingView script bar by bar and ran it on Nasdaq-100 from 2018 to 2026: 3,989 trades. With zero costs the Sharpe was 0.03. With real spreads it was −5.64. Its built-in tester shows about eight trading days, and an eight-day window looks profitable 49.5% of the time even at zero cost. That is a coin flip dressed up as a strategy.

    LessonA short backtest with no costs will show you whatever you hope to see.
    3,989trades0.03 → −5.64Sharpe after spread49.5%of 8-day windows profitable
  5. Sep2026
    survived

    One idea survived. Then I tried to kill it.

    An intraday Nasdaq-100 strategy that holds nothing overnight. On 8.9 years of minute data, after costs, the backtest Sharpe ratio is 1.35. I've spent more time attacking that number than building the strategy. The full audit is below; the rules stay private.

    LessonThe first good backtest is where the real work starts.
    1.35Sharpe after costs4.03t-stat862trades
  6. Oct2026
    built

    A data platform, because bad data makes fake profits

    Raw broker files are stored exactly as received. A clean layer only accepts data that passes a versioned contract: unique minute timestamps in UTC, positive prices, highs and lows that agree with the open and close. The clock handling is checked against the 09:30 New York volatility spike, which has to land on the same minute in summer and in winter.

    LessonOne hour of clock drift is enough to invent or erase an intraday edge.
    4.5Mminute bars2data sources39commits that month
  7. Sep–Oct2026
    built

    Turning prop-firm rules into a math problem

    I decided to test the strategy live on prop-firm evaluations instead of my own savings. Their rules are strict: a profit target in each of two phases, a 5% daily loss limit and a 10% total loss limit. I wrote that down as a dynamic program and solved it for the bet size that maximizes expected value after fees, in every state an account can be in. A separate Monte Carlo then had to agree with it. How it works.

    LessonWhen losing costs only a fee and time is limited, the right bet size is not the one that maximizes growth.
    15,372account states20,000simulated paths0cells changed on re-run
  8. Nov2026
    broke, then fixed

    Live. Two evaluations lost in the first week.

    The bot went live on a cloud server in early November, and within three days two evaluations hit their loss limits. Replaying those days found two bugs. A config file on the server was out of date. The broker's clock was converted with one fixed offset across a daylight-saving change, which shifted the warm-up history by an hour and made the bot see the market as about 45% calmer than it was. Together they produced trades the backtest would never have taken. The second loss was a valid trade at the deliberately high phase-1 size, and that day the daily loss limit sat closer than the strategy's own exit.

    Both bugs were fixed on 5 November. Time is now converted bar by bar, and every deploy goes through version control.

    LessonThe riskiest code in a trading system is the boring part: config files, clocks and deploys.
    2bugs found by replay~45%volatility underestimated5 Novfixed and redeployed
  9. 5 Nov2026
    passed

    Phase 1 passed with a single trade

    On a new evaluation, the first trade after the fixes closed above the +10% phase-1 target the same day. I count that as luck, not proof: one trade says almost nothing about an edge, and the model's median time to get funded is 86 trading days. Phase 2, with a +5% target, started on 10 November. Current status.

    LessonLuck is welcome. It just doesn't count as evidence.
    +10.2%in one day1trade86days the model expected
  10. 1 Dec2026
    tested

    Does the live bot decide like the backtest?

    I replayed the live decision code over 2019–2026 and compared all 22,994 decisions with the backtest's. 4,558 disagreed, almost all from one missing-data case on shortened trading days. With the fix, 106 disagree, a 99.54% match. It is rolling out now.

    LessonIf you never compare the two, you are trading a different strategy from the one you tested.
    22,994decisions compared4,558 → 106mismatches99.54%match
  11. Next2027
    in progress

    Get funded, and keep score in public

    Next milestones: finish phase 2, get a funded account and post the first payout, or the next loss, in percentages. Every month I'll publish the live-versus-backtest reconciliation, and every new research idea will get a write-up here, especially the ones that fail. At this Sharpe ratio it takes about 25 months of live trading before the record alone can rule out luck. Here's why.

Results · backtest

What survived, in numbers

Backtest from January 2018 to September 2026 on Nasdaq-100 minute data, after modelled costs on every trade. Flat every night.

Growth after costs
StrategyNasdaq-100, buy & holdStrategy drawdown
Year by year2026 runs to 9 September
The audit

Trying to break it

A Sharpe ratio on its own says little. These are the 15 questions I ask after it, each one trying to show the result is luck, overfitting, a cost illusion or a hidden risk. Click any line to see the test and the number. Four are marked as notes because they are real weaknesses.

The check most backtests skip

How many backtests did you run?

Test enough variations of anything and one will look brilliant by chance. The Deflated Sharpe Ratio asks how likely the winner's edge is to be real, given how many versions were tried. Drag the slider to see how the answer changes.

Best of N worthless strategies vs this oneBailey & López de Prado, 2014
Best of N noise
This strategy
Deflated Sharpe
Built for prop-firm rules

The edge comes from research. The bet size comes from the rules.

I test the strategy live on prop-firm evaluations instead of my own savings. An evaluation works like a digital option with a barrier: you pay a fee, need +10% and then +5%, and the attempt ends the moment the account loses 5% in a day or 10% in total. Profit past the target is wasted, and touching a limit costs the fee. So the useful question isn't how much the strategy can make. It's how much to risk tomorrow, given where the account stands today.

The sizing policy

One answer for every state of the account

For each phase, each day left and each equity level, the solver picks the daily risk that maximizes expected value after every fee, assuming a lost evaluation is replaced with a new one. The result is a lookup table. The live bot reads it once a day; nothing is decided by feel.

    Daily risk chosen by the policy
    Two methods must agreewithin 126 trading days

    Chance of getting funded, by real edgesame policy · 20,000 paths

    Engineering

    How it runs

    Research and live trading share one codebase. The live bot reuses the research code, and a replay checks that both make the same decisions. Most of the work is here, not in the strategy.

    01 · SOURCES

    Broker feeds

    Minute data from two sources: one for history, one for live trading.

    02 · RAW

    Raw archive

    Files stored exactly as received, with download metadata.

    03 · CLEAN

    Clean layer

    UTC timestamps, daylight saving handled, a data contract every bar must pass.

    04 · RESEARCH

    Backtest

    Fills on the next bar, costs on every trade, and the audit above.

    05 · LIVE

    Live bot

    Cloud server, US session only, reusing the research code.

    06 · CHECK

    Reconcile

    After the close, every decision and fill is compared with the backtest.

    Flat every night

    Everything closes by 15:57 New York time. No overnight positions.

    News blackout

    No orders in a window around scheduled macro releases such as FOMC.

    Loss limits

    Daily and total loss limits checked by the bot. Hitting one flattens everything and stops the day.

    Size caps

    At most 20 orders a day, and exposure capped at 5× equity.

    Kill switch

    One file on the server stops the bot at its next check.

    Right account only

    The bot refuses to run if its saved state or terminal belongs to another account.

    Crash-safe state

    State is written atomically, so a crash never leaves a half-written file.

    No look-ahead

    A test scrambles every bar after a cut-off and checks that no earlier decision changes.

    Now · live accounts

    Where it stands

    Every live evaluation, the lost ones included. Figures are percentages of the balance at the start of each phase, updated after the end-of-day check.

    LIVE · AUTOMATED
    • Running live sinceNovember 2026
    • MarketNasdaq-100, US session
    • Overnight risknone, flat every night
    • Checked against the backtestevery trading day
    • Live record so fartoo short to judge
    • Months needed to rule out luck~25

    Passing an evaluation is not proof of an edge either. A Sharpe ratio is an estimate with an error bar, and the error bar shrinks slowly, with the square root of time. Three good months prove nothing, and neither do three bad ones. That's why live results will be posted as monthly reconciliations, not as a highlight reel.

    What a live record can prove95% interval of the measured Sharpe
    Could measure
    Rules out zero?
    Months to 95%
    Follow along

    Watch the record build

    I post what I'd want to read from someone else doing this: real numbers, the engineering decisions behind them and the mistakes. Nothing here is for sale. No signals, no course, no fund, no challenge-passing service.