r/algotrading • • 23h ago

Strategy 70% return in 3 months, from 515 trades, market neutral L/S stock portfolio. Time to move a bit more $$ from the investment portfolio to the trading portfolio...

Thumbnail gallery
239 Upvotes

9 years after discovering the stock market, and years of looking for patterns and probably thousands of hours backtesting... I believe I've finally found a good edge, which works in all market environments.

70% return in 3 months, using ~4x leverage (through CFDs). Sortino 5.81. Sharpe 3.42.

Almost always (close to) market neutral, so don't really care about market direction (though long/short ratio can vary from 0.5 to 1.5).
All positions opened at the end of the day, manually(!!).

Long part of the portfolio consisting of 1-6 positions (usually 4-5) using the final trading algorithm (momentum-based trading, zero fundamentals). Selected from US stocks wit volumexprice above 200 million, or very liquid ETFs.
Holding time is usually 1-3 days, but sometimes extended to over 1 week.

Short part of the portfolio is about 9-13 positions, chosen using fundamental analysis. Holding time varies a lot, but usually many weeks/even months (though the exact entry and exit still uses the algorithm).

This trading portfolio was a small percentage of my normal, long-only investment portfolio... Time to add a bit more $$ to it!

Note: "The Value Added Monthly Index (VAMI) is a statistical figure that tracks the daily, monthly, quarterly performance of a hypothetical $1000 investment."

Edit:
-This includes all IBKR fees and overnight funding already.
-Total return on second screenshot (VAMI) i different because today's trading P/L is still not available to view there.

Edit2:
-Portuguese living in the UK, so CFDs are legal and available on IBKR. Can do the exact same (with lower leverage) on a normal margin account, though. Or only long and un-levered.

Edit3:
-Typically I use sector ETFs for long positions, if possible. If not enough ETFs don't abide by the algorithm rules, I use individual shares, each at 0.5x weight of the ETF weight.

Short positions are on individual shares only, and about 0.3x long ETF weight.


r/algotrading • • 21h ago

Other/Meta RIP Legend. Warren Buffet 1930-2026

Post image
126 Upvotes

r/algotrading • • 18h ago

News Man of patience ( Warren Buffett)

Post image
6 Upvotes

He changed the way I think about the stock market. My favorite quote from Warren Buffett is:

​"An idiot with a plan can beat a genius without a plan."

​Goodbye, legend—rest in peace. Your knowledge will live forever.


r/algotrading • • 1h ago

Strategy ETH 1h long-only system backtested 2016–2026, looking for people to pick holes in it (reposted with method)

Thumbnail gallery
4 Upvotes

Posted this earlier but it got removed, probably because I only gave results and didn't explain how it was tested. So here it is again with the method. I'm not selling anything. I'd just like it criticised before I trust it with real money.

What it is

  • ETH perps, 1h candles, long only
  • Momentum/trend-following, built from a couple of standard indicators plus a daily trend filter
  • Fixed 12% stop, and the exit depends on market conditions
  • In the market about 9% of the time, average hold around 20h
  • I'm keeping the exact rules to myself for now, but I'm happy to answer anything about the testing

How it was tested

  • Hourly data: Bitfinex ETHUSD for 2016–17, Binance spot for 2017–19, Binance perps from 2020
  • Signals only on closed candles, no lookahead, and the daily filter uses the previous day's close
  • Fees of 0.045% per side, plus funding from 2020 onwards
  • Most of the development was done on 2020–26. 2016–19 was added afterwards as a check, and I didn't change the parameters for it
  • Random-entry test: same number of trades and same hold times, but random entries. None of the random runs beat it on the 2016–17 data
  • I also checked parameter neighbours (it's not a single sharp peak), Monte Carlo reshuffles, and 15m/2h/4h timeframes (worse)
  • It's been running in paper mode live

Results, 2016 – Oct 2026

CAGRMax DDSharpe
Strategy 1x56%−29%1.42
Strategy 2x115%−54%—
Buy & hold ETH64%−94%1.00
S&P 50015%−34%0.88

409 trades, 51% win rate, profit factor 2.16.

2020–26 only: 1x gives 48% CAGR, −18% max DD and Sharpe 1.58. 2x gives 105% CAGR, −34% DD and Sharpe 1.55.

[charts: growth vs ETH/S&P, returns by year, results by era, equity curve]

Things that worry me

  • The top 10 trades make up about 46% of the profit, so it depends on catching big moves
  • The −54% drawdown at 2x was three stops in a row in Dec 2017 – Jan 2018
  • It was weak from 2017 to 2019: 22% a year, though ETH itself was down 36% a year then
  • I tried a lot of variations along the way (shorts, other timeframes, add-on filters) and none of them helped. That makes me think the core is real, but it also means I've done a lot of testing on the same data
  • I tried the same rules on forex and on 14 stocks/ETFs and got nothing, so the edge seems to be specific to ETH

What I'd like to know

  • What would you check that I haven't?
  • Is ~400 trades over 10 years enough to trust it?
  • Has anyone seen ETH-only edges like this hold up, or fade, once they went live?

r/algotrading • • 4h ago

Data Kelly drawdown vs. profit potential tradeoffs

Thumbnail gallery
3 Upvotes

Applied a Kelly simulation (Chart 2) to my fixed bet strategy (Chart 1), noisy for sure. Any thoughts? The sample, win rate, profit factor, start risk/capital are the same for Kelly (Chart2), accidentally screenshot those excel icons


r/algotrading • • 17h ago

Strategy I pre-registered 105 MNQ intraday tests for a 50K eval. The ideas that worked for years faded in 2024+, and a recent-looking breakout failed the holdout.

3 Upvotes

I spent the last stretch looking for a simple MNQ intraday idea that could survive a 50K futures evaluation with a $2,000 trailing max-loss limit (Lucid's rules). Paper research only. Nothing was traded live.

Every test was written down before I ran it. I used a 2024-and-later primary gate, a random-entry baseline with the same exits, and a Bonferroni correction as the try count grew. By the end I had 105 counted tests.

The momentum ideas that looked solid from 2011 through 2023 decayed in 2024+. On one of the better ones, first-payout odds were about 63%, 69%, and 86% in the 2011-15, 2016-19, and 2020-23 blocks. From 2024 through May 2026 those odds were 0%. The gross edge per trade fell from about $17-$30 down to about $7, which is roughly the size of costs, and the edge over random entries was about +$0.25 per trade (p = 0.49). Every rolling evaluation in that window blew up before reaching the +$3,000 target.

I also checked whether this was just bad data. Over about two and a half months of overlap, real NinjaTrader MNQ futures matched our stand-in data closely on returns, volatility, opening ranges, and direction. So the 2024+ fade is most likely real, not a data artifact. The overlap is only late 2026, so it cannot prove the match held in 2024-2025.

One plain 15-minute opening-range breakout, used as a control, was the opposite pattern. It was weak in 2011-2019 and looked strong in 2024 through May 2026. I did not pick it just because the recent window looked good. I pre-registered a separate "recent-regime only" test on an untouched June-November 2026 holdout, with the earlier failure stated up front.

It failed. On the stand-in data it lost $5,141 and was worse than random entry. On real NT8 data, from mid-September through November, it also lost money ($1,223 after costs). The drawdown was $2,788, past the $2,000 trailing limit, and a single evaluation started on day 1 would have been breached. On 24 days both data sets took a trade, they took the same direction on 23.

The lesson for me: an edge that worked for years can just stop. A recent-looking one can stop too. Holdouts and baselines are what catch it. I parked this search.

After a 2024+ decay like this, would you keep testing the same family on a slower timeframe, switch to a different index future, or treat momentum and opening-range breakouts as retired for now? What would you test next, and what gate would you use to decide?

(Paper research only, not financial advice.)


r/algotrading • • 6h ago

Business Built a Rust execution engine for Bybit/Binance/OKX/MEXC focused on eliminating taker fee drag — looking for feedback on live edge cases

2 Upvotes

I've been building a low-latency Rust execution runner for crypto perps across Bybit, Binance, OKX, and MEXC.
The biggest leak I ran into during live testing wasn't the signal logic itself, it was fee drag on non-VIP tiers — even a few market/taker exits completely wipe out small intraday moves. To fix that, I reworked the execution path around:I'm currently running small live validation benchmarks across different exchange fee tiers and latency profiles (home connection vs AWS Tokyo ap-northeast-1).
For those running live perp bots: what surprised you most when moving from demo/testnet to real mainnet orderbooks, and how do you handle resting PostOnly exits when the book shifts a tick?


r/algotrading • • 3h ago

Education Any books for learning about stock market strategies and indicators?

1 Upvotes

I am slowly getting into algo and day trading and want to learn more. Right now I have been making simple bots that day trade based on price swings but want to learn about different strategies and indicators I could implement into my bots. Are there any good books for a beginner to learn about things like VWAP, RSI, EMA etc. for a beginner? basically I would like to learn all the different market and algo trading terminology.