r/algotrading • • 1d ago

Weekly Discussion Thread - December 01, 2026

4 Upvotes

This is a dedicated space for open conversation on all things algorithmic and systematic trading. Whether you’re a seasoned quant or just getting started, feel free to join in and contribute to the discussion. Here are a few ideas for what to share or ask about:

  • Market Trends: What’s moving in the markets today?
  • Trading Ideas and Strategies: Share insights or discuss approaches you’re exploring. What have you found success with? What mistakes have you made that others may be able to avoid?
  • Questions & Advice: Looking for feedback on a concept, library, or application?
  • Tools and Platforms: Discuss tools, data sources, platforms, or other resources you find useful (or not!).
  • Resources for Beginners: New to the community? Don’t hesitate to ask questions and learn from others.

Please remember to keep the conversation respectful and supportive. Our community is here to help each other grow, and thoughtful, constructive contributions are always welcome.


r/algotrading • • 4h ago

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

Thumbnail gallery
7 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 • • 5h ago

Infrastructure AI for backtesting?

0 Upvotes

I've been building and testing systems for decades. Used Metastock and Tradestation back in the day, Wealth Lab, Amibroker, did my own stuff in R and Python.

But lately I discovered that I can upload some historical data files to Claude, tell it my strategy and parameters, and it backtests and even optimizes in minutes and gives me full results.

But can I trust this? Too chicken to trade these for real yet. Anybody successfully use AI for backtesting/optimization?


r/algotrading • • 6h 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.


r/algotrading • • 6h ago

Data Kelly drawdown vs. profit potential tradeoffs

Thumbnail gallery
4 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 • • 9h 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 • • 19h 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 • • 21h 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 • • 1d ago

Other/Meta RIP Legend. Warren Buffet 1930-2026

Post image
127 Upvotes

r/algotrading • • 1d 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
244 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 • • 1d ago

Strategy Crude went from a −21% month to a +5% day on one unverified geopolitical headline. Do your models trade that or filter it?

0 Upvotes

WTI fell about 21% in November, then rose 4.9% on Tuesday (settle $86.41) after Iran's IRGC said three tankers hit mines in Hormuz. The claim had not been independently verified, and Brent and WTI moved together while the US 10-year yield jumped 11 bp to 5.04% in the same session.

Curious how people handle this kind of event in systematic strategies:

  • Do you treat headline-driven spikes as signal, or mask them until realised volatility settles?
  • If you filter them, do you use a volatility threshold, a news-time blackout, or something else?

r/algotrading • • 1d ago

Other/Meta Another month (update)

Post image
8 Upvotes

Last month, I shared the results of my first full month running my own breakout strategy with real money. November is now in the books, and it turned out to be an even better month despite taking fewer trades.

November results:
- Net P&L: +$1,698.58
- Closed trades: 10
- Win rate: 60%

Combined results after two months:
- Net P&L: +$2,629.34
- Closed trades: 27
- Win rate: 51.9%

Obviously, 27 trades is still a very small sample size, and I’m expecting tougher months along the way.
Would you guys be interested in seeing monthly updates on my live trading journey?

I’d be happy to document the entire process, including the losing months and drawdowns, rather than just sharing the good results.

Curious to hear what you guys think!


r/algotrading • • 1d ago

Infrastructure Services offering both API trading and Solo 401(k)

1 Upvotes

I'm working on automating as much of my money transfers and trading as possible. Most of my accounts are at Fidelity, which doesn't offer an API for stock/ETF trading. I want to move to something that does. The code-friendly brokers like Alpaca don't seem to support Solo (self-employed) 401(k)s, and the only two I've found that support both are Schwab and ETRADE. Their login limits will likely be a pain for automation:

Are there other options I'm missing? Has anyone opened a self-directed Solo 401(k) trust account at an API-first broker?

Thanks!


r/algotrading • • 1d ago

Strategy I tested selling Kalshi 15 minute BTC contracts when an 85c bid faded

8 Upvotes

I wanted to see what happens if I sell a Kalshi 15 minute BTC contract after the bid gives back a lead. I bought YES when Coinbase BTC was at least $25 above Kalshi’s settlement cutoff and the five-minute move was up at least +0.03%. I flipped the rules for NO. I restricted entries to only two to seven minutes left. If a contract I held had a bid of at least 85c and later dropped to 66c or less, I tried to sell. Otherwise I held to settlement.

My first backtest made +$413.46 PnL after fees on 739 closed positions, with a -$21.02 max drawdown. The early exit closed 20 of those positions. Then I ran 100 variants that changed the buy limits. All 100 reported gains, from +$81.47 to +$517.05. The top result used my original settings. Its reported PnL leaves out about $13.32 in entry fees on those open contracts.

I tested buy-limit floors from 5c to 45c and ceilings from 47c to 95c. The floor can raise the limit I send on a cheap order, and the ceiling caps what that order can pay. At the original 5c floor, a 78c ceiling still came back at +$505.54. Across all floors, the 47c ceiling averaged +$177.36 and the 95c ceiling averaged +$454.55. The Sharpe check that accounts for trying 100 settings cleared its cutoff.

I shuffled the timing of the Coinbase readings 100 times, kept Kalshi’s prices fixed, and reran the grid each time. The best shuffled result was +$189.19. Zero of the 100 matched the real-timing best of +$517.05, for a corrected p-value of 0.0099. That comparison tests the Coinbase timing on these same markets.

I think this shape might have promise. I'll start very small with hard position and spending limits, a daily loss cutoff, and a kill switch.

Full Report


r/algotrading • • 1d ago

Strategy I guess update #3

Thumbnail gallery
9 Upvotes

I've been running approximately eight different strategies all based on the underlying entry requirements.. A couple have been absolute dog crap and a couple have been pretty decent this is my underlying one that i am the most confident with so far I have one other one that is more profitable but I am more comfortable with this particular one because it is consistently upper 70s lower '80s win rate.

So this whole setup started with $500 and I'm only using $500 per trade.. Overall it's not a bad setup if I can continue this over say December I will probably try a $500 live account in the beginning of January..


r/algotrading • • 1d ago

Strategy Month 1 of forward testing, the good, the bad, and a three-bot race with the rules fixed in advance November was the first full month of my bots running forward on demo with frozen rules. Here’s all of it, including the ugly parts.

4 Upvotes

Main FX bot
61 trades, 36% win rate, +10.7R, avg +0.18R a trade, profit factor 1.33, max drawdown 6.3R.
Before anyone gets excited: the uncertainty is about ±0.41R, bigger than the average, so statistically it's indistinguishable from zero. Most of the profit came from entries between 08:00 and 12:00 UK (+14.5R over 17 trades), while entries before 08:00 and from 12:00 onwards lost slightly. USD/CAD alone made +10.1R.
I also changed the bot five times during the month, so this is several versions stitched together, not one frozen system. That's fixed from 30 Nov (more below).

Forward paper tests (rules frozen before any forward data)

  • Opening-range breakout: +46.65R over 106 trades, +0.44R a trade. The backtest said −0.07R on the design years and about flat on validation. Without its best day it's still +35.6R. My honest read: this has come from one market regime (high volatility, falling markets), and its own backtest in that regime was about flat. It reviews at 538 trades, a number set from its backtest spread, so I'm a long way from knowing anything.
  • Intraday momentum: −6.28R over 56 trades, in line with a backtest that lost.
  • Trend following: −30.42R closed. It holds monthly, so only stopped-out trades have closed so far. Counting open positions it's −25.67R. Rough start.
  • Carry −1.90R (2 trades), positioning fade −0.97R (4 trades), pre-Fed drift 0 trades (first one is 9 Dec).

Research
77 ideas pre-registered and tested, none has passed. Try 77 came straight from this sub: a minimum stop on the breakout, after the thin-range Thanksgiving trade. Picking the floor in advance, the placebo split and comparing refused against kept trades were all suggestions from here. Result: it only touches the tiniest-range days, it does no harm, and the gain wasn't significant. So it's a safety rail, not an edge.

New: a three-bot race
From 30 Nov, three bots run on separate demo accounts: my FX bot, my index executor, and a challenger built from scratch that wasn't allowed to reuse any family of idea I'd already failed with. None of the three showed an edge in its own backtest, so I'm not expecting a winner. The point is measuring them honestly.
One rule decides if any of them ever gets real money, written and committed before the first trade counted:

  • at least 100 trades and 26 weeks
  • average at least +0.10R and 2 standard errors above zero
  • positive in at least 2 of 3 time splits
  • demo fills match the bot's own rules
  • profit factor at least 1.2
  • no day worse than −5%, no drawdown worse than −10%
  • any change to a bot restarts its clock

Results publish automatically every week, with SHA-256 hashes of the private specs, so I can prove later the rules weren't changed after the fact. The methods stay private.
Repo: http://github.com/AlgonikHQ/algonik-bot-race

Happy to take criticism on the rule, especially if you think something in it is too loose.


r/algotrading • • 1d ago

Strategy How do I backtest the Strategy below?

2 Upvotes

I have a strategy which is as follows:

Equity Characteristics: PE below 35, Free float Above 50%

Equity Universe: Top 100 companies globally by Free Float Market Capitalisation (FMC).

Portfolio Mechanics:

Choose Top 20 companies by FMC in descending order;

Assign Equal Weight;

25% GICS sector cap;

Annual Rebalancing.

Hence 5 stocks per GICS sector, 5% weight per stock, Chosen in descending order as per FMC, from above equity Universe.

I want to backtest this since year 2000, check Price Return, Total Return and average dividend yield.

How do I backtest this, and where do I get the results?


r/algotrading • • 1d ago

Strategy Spent a week tuning my strategy using backtest data since June'26. Finally added some more data since 2021 :'(

Thumbnail imgur.com
6 Upvotes

r/algotrading • • 1d ago

Other/Meta My trading bot v183

Post image
44 Upvotes

1 year of trading experience and 6 months of trying to build a bot. It's still slightly disappointing. This is almost the 200th version and I felt like I'm going somewhere!

I basically use Claude to back test by strategy comes from me. Some times the Ai seems quite persistent that something is not going to work but I have to fight it a few times.

Each trade is at 0.5% risk and increasing it slightly this month. My idea is to trade small movements that's largely unaffected by news.

Should I add a new strategy or try and improve the current one? That's what I'm stuck at most


r/algotrading • • 2d ago

Strategy Nodes or script for building strategies? Need all the help you can provide

3 Upvotes

So my project started as a visual node board for strategies. You connect blocks and that's your strategy. Works ok for simple stuff, but when I build anything bigger with it myself, the board just gets messy.

Now I wanna add a Pine-like script, mostly because of things that feel awkward as nodes. Like inline optimization:

rsi = ta.rsi(close, optimize(14, 5, 30, 1))

In script that's one line. On a board, where does it even live? Same with looking at the strategy's own past trades from the current candle, like skipping a signal if the last two trades were losses. In code it's an if. As nodes it's a weird loop going back into itself. And I want people to train a small XGB or HMM right inside the script too, and I honestly can't picture that as nodes without it turning into spaghetti.

I'm leaning to nodes that compile to script, so you can switch views. But then debugging is pain, because the user sees code they didn't write. And dropping nodes completely kinda scares me, since I built everything around them 🙃

Also I know inline optimize looks like an overfitting machine. My plan is to only trust it with walk-forward, so it never picks params on the same data it's tested on, but idk if that's enough.

Did anyone here go through this, nodes vs code, and which one did you actually end up using?


r/algotrading • • 2d ago

Data Affordable full-depth equity data via API?

1 Upvotes

The market goes 23/5 very soon and now more than ever it seems like looking at how thin an orderbook really is, may be helpful.

Has anyone found a way to get full market depth (Nasdaq TotalView) into Python without paying an arm and a leg? I found it through databento (only the plus sub has it and thats 1500$ lol)

Don't need MBO, just uncapped MBP. Unfortunately, dxFeed doesn't offer API access to retail users.

Curious if anyone here has found a decent alternative.


r/algotrading • • 2d ago

Strategy Does anyone use autoresearch loops in their daily workflows?

18 Upvotes

In february there was a boom in autoresearch like karpathy's auto loops and other open source loops coming on github. But lately seems like the hype has ended. Does anybody still use those agentic loops in their daily workflows. If no, then why not? What challenges did you encounter when using it?


r/algotrading • • 2d ago

Other/Meta Best Equity Trading account for algo trading with LLM (Claude, Gemini or ChatGPT)

0 Upvotes

I want to experiment with AI-driven trading using a small amount of capital to start with.

I'm not looking to build a traditional algo-trading system on IBKR, where I have to code the strategies and manage the entire execution infrastructure myself.

I'm more interested in an AI-driven approach where ChatGPT, Claude, or Gemini can analyze the market, identify opportunities, make trading decisions, and potentially execute trades through a brokerage account.

I've heard Robinhood is exploring this space. Are there other platforms worth considering? Would you recommend Robinhood, Fidelity, E*TRADE, or something else for this kind of experiment?

Ideally, I'd like to start small, connect AI agents with minimal setup, and gradually explore more autonomous trading with proper risk controls.


r/algotrading • • 2d ago

Strategy 3 bots running so far,Had to delete the old ones...lets see how they do!!!

Thumbnail gallery
0 Upvotes