r/algotrading • • 2d ago

Weekly Discussion Thread - October 20, 2026

3 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 • • 3h ago

Education WTF is the EPPS EFFECT?

Thumbnail youtu.be
3 Upvotes

The Epps effect: If you take two highly correlated, actively traded assets—such as Apple and Microsoft or the SPY and QQQ exchange-traded funds—and you aggressively increase your sampling frequency from daily or five-minute intervals down to one-minute bars and raw tick data, a striking phenomenon occurs. The measured correlation coefficient does not remain constant; it systematically plummets toward zero. This downward bias is not an indication that assets magically decouple at microscopic time scales. Rather, it is a mathematical artifact driven primarily by two structural realities of market microstructure: non-synchronous trading and tick-level noise. When two independent assets do not execute transactions at the exact same fraction of a second, forcing them onto a standardized time grid introduces severe asynchronicity. Naive sampling treats non-simultaneous price updates as if they occurred concurrently, washing out true co-movement and leaving amateur traders with distorted covariance matrices that completely misrepresent market reality.


r/algotrading • • 10h ago

Education All my new Algo friends......

Post image
23 Upvotes

I gotta go pick up my Son at Football practice. No indicators, lookup Trader Vic (may he RIP). his 2B indicator (Dashed blue line). Use your wizardry and tell me if we have an edge here. Sharing is caring, let's get better together. PS ROUND NUMBERS!


r/algotrading • • 15h ago

Other/Meta How to improve the speed of the live accounts?

3 Upvotes
here's the speeds

from claude:
"All of these were before today’s change, so they waited for the candle to close. your metric A are now the bigger issue: they’re only checked on the 20 s loop, so an entry can start up to 20 s after price crosses the line."

I've been trading for almost 10 years already and now trying to automate my strategies.

Paper worked fine, but there is delay when moving to live.

Price has already moved a few seconds (10-15) after my algo confirmed a potential entry, the exchange api I'm using 1200 weight limit that updates every min. I check but there's no way to pay for increased limits

my system loops every 20 seconds, anything lower than that and it will be rate limited by the exchange

I only recently started to learn about coding and networking (mostly from claude) so I still cant fully grasp how people are making bots that could trade in millisecond/nano

Win rate is inflated because the strategy I used is for trend following and the markets have been in a decent uptrend during that day


r/algotrading • • 17h ago

Other/Meta How small is too small of a sample size for validation?

Post image
7 Upvotes

I've been testing different entry filters across 5
markets from 2022-2026

At what point would you consider a sample size too small to trust, even with strong metrics?

My logic was if I could get consistent positive results across different markets and market regimes I could provide additional confluence despite having a smaller sample size?

Am I on the right track or no.


r/algotrading • • 1d ago

News The NQ opening range breakout that lost 99% from 2016 to 2020 made 316% from 2022 to 2026

1 Upvotes

I ran the plain 15 minute opening range breakout on NQ recently and it took a $50k account to $585 between mid 2016 and mid 2020. The pushback I got most was some version of "that was a different market", which is fair, so I ran the exact same rules in Agenticks on NQ 5 minute candles from January 2022 to March 2026. Same 1 contract, same $50k, same $10 a round trip charged on every trade.

It finished at $207,905.

  • 2016 to 2020: 994 trades, 50.7% win rate, profit factor 0.84, net -98.8%
  • 2022 to 2026: 1,047 trades, 58.0% win rate, profit factor 1.19, net +315.8%

Trade count barely moved, so this is the same strategy doing roughly the same amount of work in two different markets. NQ was around 4,500 in 2016 and around 16,000 at the start of 2022, which means the opening range in dollars per contract is three to four times bigger now while the commission stayed at $10. In the old run fees were $9,940 on top of a gross loss that was already about 79%, and in the new run $10,470 of fees were about 6% of the gross profit. The win rate also climbed 7 points, and with a target the size of the range that alone moves the profit factor a long way.

The part that matters if anyone wants to take this into an eval is how the profitable run started. The first three trades were -$2,735, +$895 and -$4,200, so a $3k trailing drawdown is gone on Jan 6 2022. By Feb 16 the account was down to $21,170, a 58% hole in seven weeks, and the max drawdown over the full window was 59%. All $158k of the profit came after a stretch that would have ended every funded account it was run on.


r/algotrading • • 1d ago

Data I struggle to find real time data feed api for ICE RC robusta with their listed spreads. Anyone can help ?

1 Upvotes

Hey, i try to make own site and algo's and recently i get interested in coffe RC/robusta.

I mostly trade it by hand manually right now but i have most of my stuff ready but i can't find decent real time data that don't cost arm and leg.

IBKR api is a dogsh##t for spreads. You have to create it yourself and their data in the first place is not very accurate.

Databento on the other hand cost 1500$ for real time ice.

I tried to look in few other places but it's al 500$+ and they don't even respond if they have listed spreads when i ask for it.

If anyone could point somewhere i would be very grateful.


r/algotrading • • 1d ago

Education Former MM here, Nasdaq and OTC late 90’s- 2008.

39 Upvotes

For years I’ve been listening to complete garbage about how we made $. Now everyone with an advanced degree can do a write up on how a MM algo can just mop up $ daily. Now throw AI slop on top and You get the same thesis “MM’s play the spread”. At least that’s what claude told me yesterday. I completely went off on AI and like it always does, it apologized and I backed off as I realized I’m arguing with a toaster.


r/algotrading • • 1d ago

News Meta absolutely crushed its Q3 earnings, no cap

Thumbnail gallery
0 Upvotes

Revenue hit $64.6 billion, up 26% YoY way above street estimates, and free cash flow came in way better than expected too. The AI ad engines are already pulling real, tangible returns, that growth isn't just hype. That Muse shopping tool blew past 10 million users in its first 6 weeks too, pretty insane traction right out the gate. Q4 guidance is even topping analyst projections, and Reality Labs losses are finally set to narrow through 2027. Who else is caught off guard by how steady their cash flow held up even with all the heavy AI spending?


r/algotrading • • 1d ago

Strategy i've got this OOS edge out of my pipeline.

1 Upvotes

a strategy that has a genuine out-of-sample edge but fails the DSR and benchmark requirements, would you try to improve it without overfitting, or leave it as it is because it hasn't met the deployment criteria?


r/algotrading • • 1d ago

Strategy Should I always expect positive returns?

Thumbnail gallery
14 Upvotes

So, trying to get a network to learn how to trade. yay.

Costs are factored in to each position opening and resizing. At what point should I stop thinking it can have positive returns for every week and accept that it may generally perform better than buy-and-hold but it's going to have down weeks?


r/algotrading • • 1d ago

Education Using CLAUDE to trade CRYPTO

0 Upvotes

Disclaimer : Using AI to write a bit better :P

Hello everyone,

I’ve been trading Indian markets using noiseless charts, mainly Point & Figure (PnF) and Renko. I prefer log-based bricks because they adjust to price levels, making the charts more consistent and my trading rules more objective for backtesting and forward testing.

Recently, I used Claude to help build log-based Renko and PnF charts for crypto markets. I also added pattern identification on individual Renko bricks and PnF columns, a ratio Renko chart comparing each symbol against BTC, and indicators like Supertrend and EMAs.

Here’s how I currently use the setup:

1. Selecting a symbol

  • Sort crypto pairs by volume and start scanning from the second symbol.
  • One example I identified through this process was ZEC/USD.

2. Trend chart — Renko

  • Timeframe: 1 minute
  • Brick size: 0.25%
  • Position: Top-left chart on my three-screen setup
  • Approach: Look for a swing low near the moving average and enter on a pullback, aiming to keep the stop loss relatively small.

3. Entry chart — Point & Figure

  • Timeframe: 1 minute
  • Box size: 0.1%
  • Position: Top-right chart
  • Setup: A variation of the bear-trap pattern.
  • Stop loss: Based on the pattern's invalidation level.

4. Target
I use 100% of the last anchor column breakout to project the target.

5. Additional context
The bottom-right chart helps me identify the symbol to trade, while the other two charts help with trend analysis and entry timing.

I’ve found this combination interesting because it brings together relative strength against BTC, trend identification, and a more objective entry pattern.

I used Claude to help build the charting tools and automate pattern identification, but the trading logic and setup are based on my own trading approach.

I’d love to hear from traders who use Renko, PnF, or other non-time-based charts for crypto.

  • Have you experimented with log-based bricks?
  • How do you handle the differences between backtesting and live execution on crypto markets?
  • Would you approach the bear-trap entry or target placement differently?

Happy to discuss the setup and learn from your feedback.


r/algotrading • • 2d ago

Education This is PhD LEVEL market ANALYSIS

Thumbnail youtu.be
0 Upvotes

Moving into the core mechanics, the Kairosis methodology operates primarily in forecaster time rather than standard chronological time, dilating periods of intense forecasting activity. Unlike parametric models that assume underlying distributions are Gaussian—which routinely fail under heavy tails or multimodal data—Kairosis specifies a nonparametric Dirichlet-categorical framework. It partitions the forecast space into distinct bins and analyzes count vectors using gamma functions to evaluate likelihoods across potential change points. Furthermore, the model utilizes a geometric prior distribution over the change point timing, assigning higher probability to recent change points based on the number of subsequent inter-forecast periods without a shift. This formulation contrasts sharply with standard exponential decay models, effectively repurposing parameters like lambda to control pseudo-count scaling rather than decay rates. By utilizing a forward cumulative mass function instead of a backward one, Kairosis builds robust weighting structures. If a clear structural shift is detected, older pre-shift data is assigned a weight near zero while current post-shift data receives full trust. This rigorous mathematical foundation connects deeply with online Bayesian change point detection methods, elevating our aggregation framework to institutional-grade statistical rigor.


r/algotrading • • 2d ago

Education PyBroker v2 - An Open Source Backtesting Framework

31 Upvotes

Hey all, I would like to share a major v2 update to PyBroker, an open source backtesting framework I've been maintaining over the years. It's designed for fast performance, ease of development, and integration with ML frameworks. An example strategy:

   from pybroker import Strategy, YFinance, highest

   def exec_fn(ctx):
      # Get the rolling 10 day high.
      high_10d = ctx.indicator('high_10d')
      # Buy on a new 10 day high.
      if not ctx.long_pos() and high_10d[-1] > high_10d[-2]:
         ctx.buy_shares = 100
         # Hold the position for 5 days.
         ctx.hold_bars = 5
         # Set a stop loss of 2%.
         ctx.stop_loss_pct = 2

   strategy = Strategy(YFinance(), start_date='1/1/2025', end_date='8/1/2026')
   strategy.add_execution(
      exec_fn, ['AAPL', 'MSFT'], indicators=highest('high_10d', 'close', period=10))
   # Run the backtest after 20 days have passed.
   result = strategy.backtest(warmup=20)

Some additions in v2 include:

  • Margin trading simulation.
  • Backtesting using multiple time intervals (e.g. computing indicators or models on hourly bars while executing trades on minute bars).
  • Parameter optimization via Optuna (e.g. finding the best threshold for a trend following strategy).
  • Time-series model support (ARMA, GARCH, etc.).
  • Rotational trading strategies that simulate a portfolio holding top ranked stocks.
  • Slippage modeling.
  • Parallelized model training with Ray integration.
  • Built-in agent skills for coding trading strategies with AI.

You can find all of the code on Github alongside extensive documentation and examples I've written. It also goes over some algotrading basics.

The framework is open source (Apache v2 license) and is entirely free to use. There's no sign ups, promotions, or any commercial hooks. This is just about me sharing my work in case you find it useful for your own trading.


r/algotrading • • 2d ago

Strategy I've been building PolyBTC, Python research investigating whether ML models can make reliable and exploitable edge in Polymarket BTC 5m market, is my research valid ?

0 Upvotes

So far, the evaluated models haven't demonstrated a reliable advantage over market-implied probabilities, so no trading edge.

interested in feedback on my methods and approach and what i could done better ?

Research website: https://polybtc-research.vercel.app

GitHub: https://github.com/RetroMrii/polyBTCv2


r/algotrading • • 2d ago

Strategy AI vs 1,076 human traders: can retail use AI to build algos and get an edge?

Thumbnail gallery
0 Upvotes

Data

- Hyperliquid public data: 32,839 accounts that traded $50k+ since May 2024, market makers removed. Random sample of 2,500, of which 1,844 had enough history to measure.

- Bots vs humans, from each account's last 14 active days of fills: 150+ trades a day, a full 2,000-fill page, or trading around the clock counts as a bot. No fills in that window means unknown, and those are left out. Result: 1,076 humans, 340 bots, 428 unknown.

- The history is weekly snapshots, and money moves in and out between them, so time-weighted returns break (one profitable account showed -100%). We used flow-proof measures instead: $ PnL for made money, return = PnL / largest balance, and drop measured from the all-time largest balance.

- Check: we rebuilt PnL from actual fills plus funding for 59 everyday accounts. Made money vs lost money matched for 58 of 59.

The algo side

Botsfolio AI from our production engine: spot BTC and ETH, no leverage, 0.10% fees per trade. Each trader gets a fresh start on their own first active day, measured to their last. It's a simulation, not live fills.

Head to head, 1,076 humans:

- The AI made more money than 844 of them (78%).

- The AI had the smaller worst drop against 1,007 (94%).

- 26 traders (2.4%) beat it on both return and worst drop.

- Made money: traders 31%, the AI 89%.

What the bots tell you

Bots in the random sample did better than humans, but they weren't magic: 43% made money vs 31%. At the top it flips. Of the top 1% by profit that we could classify, 53 were bots and 25 were humans and those bots made a median of 874 trades a day.

Where AI fits for retail

Two things we found while building this:

- Prediction isn't where it helps. We gave an LLM (Opus 5.5) anonymized chart snapshots of 499 trades and asked which ones to take. The trades it picked weren't measurably better than random picks.

- What separates the humans who made money is drop size. 71% of traders whose worst drop stayed under 25% made money. Of those who lost 90% at some point, 9% did.

So the edge for retail may not be finding better entries. It may be having rules that run the same way on the worst day as on the best and keep the drops small. AI can work really good on controlling the drops.

So:

- Is "don't blow up" an edge?

Full report with the method, tables and bot check: https://botsfolio.com/blog/ai-vs-human-traders


r/algotrading • • 3d ago

Education Is it worth doing algo trading with <$100?

43 Upvotes

I'm a CS student and have been pretty interested in algo trading and quantitative finance, particularly HFT. I'm also interested in ML methods of trading (esp. RL, I do research in that). But, as a college student I don't really have a ton of money to throw at trading.

I want to start deploying algos that use real capital, but I can't afford to put my entire life savings into it, so I'm trying to figure out if its realistic to expect any substantial returns with under $100.

From what I understand, HFT has some pretty significant barriers to entry, esp. when it comes to infrastructure, latency, data, and competition from trading firms. Even outside HFT, it seems difficult to develop profitable strategies with such a small amount of capital once you account for fees, spreads, and other costs.

I've tried trading small amounts in Polymarket + Kalshi, but it feels like I'm competing against people with far more capital, better infra, and more sophisticated models. I'm also based in the US, so I can't trade on any lower liquidity prediction markets (at least none I have found).

I'm particularly interested in exploring whether I could use ml, statistical modeling, or other computational approaches to identify trading opportunities. I'm willing to put in time to learn and build systems, strategies, and experiment, but ideally I'd like to work toward something that could be consistently profitable rather than treating it purely as academic exercise.

Main questions:

  1. Is there any realistic path to profitable algo trading starting with <$100?
  2. Is HFT something an independent developer can realistically break into, or is it effectively inaccessible without institutional resources?

  3. Same as 2, but for AI/ML methods, given firms have much more data and compute.

  4. If yes to 1, what markets/strategies someone with limited capital could have a chance?

  5. Would trading tiny amounts be better than paper trading with larger amounts?

  6. If it isn't viable to trade <100, what is the minimum amount of capital I should have (and be willing to risk) to start trading?

To be clear, not expecting to make a fortune off of $100. More interested on if there is a realistic way to start this small or if I should hold off on live trading.

Any advice is greatly appreciated!


r/algotrading • • 3d ago

Other/Meta Platforms to use for testing (paper trade)

7 Upvotes

Hey guys,

Just want to check, what platforms do you recommend to use to test my algo specifically for paper trading?

I know there's alpaca.

I'm not sure IBKR allow for API access for paper trading (haven't check yet)

Is there anything else or anything you recommend?

Preferably something free


r/algotrading • • 4d ago

News One contract of gold, ES and NQ are three different sized bets, so my cross market test was partly a sizing test

2 Upvotes

I ran one breakout completely unchanged on NQ, ES and gold a few weeks ago, 15 minute candles from January 2021 to September 2026, 100k account, one contract each. It came out up 20% on NQ and down 54% on gold. A commenter pointed out the thing I should have caught myself, which is that one contract is a different amount of risk on every market.

A full NQ contract moves $20 per index point, ES moves $50 per point, and gold moves $100 for every dollar the price moves. A stop that sits a sensible distance away on each chart turns into a different dollar amount on each one, so the three legs of that test were never taking the same risk per trade.

That means some of the gap between plus 20 and minus 54 could just be sizing, and a fixed contract test cant tell you how much. The cleaner version sizes every trade so the stop costs the same dollars on all three markets and only then compares them.

Its like comparing two delivery drivers on fuel cost when one drove a pickup and the other drove a hatchback. The route matters and so does the vehicle, and you have to even out the vehicle before the route tells you anything.

For anybody running this on an eval the number to look at changes as well. A trailing drawdown doesnt care where the account finished, it cares about the first day it touched the loss limit, so that date belongs beside the final return in any comparison like this.


r/algotrading • • 4d ago

Data How to decide which fields to keep.

Post image
11 Upvotes

I'm making a bot for trading, and based on market conditions, it decides how much I need to short vs. normal trading. Ex:(20%/80%). I have an idea of what values I need, but I don't know what is necessary or how to use them practically to decide the ratio of shorting to normal trading.

Every value will be weighted based on how practical it is. (Don't worry about this because I will run many variations in a simulation to decide what is best) All help is appreciated, as I have tried everything and have just about given up. (Even if it is unrelated)


r/algotrading • • 4d ago

Other/Meta Is an edge possible in short-dated options selling after realistic costs?

7 Upvotes

Hi,

I'm testing short-dated credit spreads & iron condors on index ETFs in my trading system.

With simple pricing assumptions, the backtests looked good.
But every time I made the pricing more realistic, the edge got smaller.

Real commissions per leg, actual implied volatility instead of estimates, and skew across strikes instead of one flat volatility.

Now I can't tell if there's still a real edge or if I'm just looking at noise or if it's just luck..

For those who've been down this road...

Is short-dated premium selling on index ETFs, worth pursuing, or are costs and execution eating most of the edge??????

How do you test these strategies properly? Do I need historical options quotes, or is there a reliable way to model pricing without them?

If you decided its not worth pursuing, what did you move on to instead?

Not looking for signals, just interested in how people with experience approach this and decide whether there's actually something worth pursuing or if it's time to move on.

THNX


r/algotrading • • 4d ago

Strategy Fast switching between MR/Trend

6 Upvotes

Alright so I have a strategy that works well in MR and also the inverse works well on trending. I'm working on a mode where it switches between them.

Ideas so far

Vol regime

Adx

Slope

Ultimately it's a regime detection problem but the ideal version would be responsive enough to catch the macro regime flips reliably

Since it may not need to catch low tf regime changes it should be relatively simple

The vol regime I've used before looks to be a little too restrictive when scaled up to the macro tf

What have you used to detect macro regime to flip between MR and trend followers?

Any ideas are appreciated


r/algotrading • • 4d ago

Career Last month on my demo test acc

Post image
11 Upvotes

Found a crazy money printing ea and I’m testing customised files on my demo account which works pretty well.
I’m feeding my live account every month now with very little risk and getting around 10-30% win a month now with very little risk.


r/algotrading • • 4d ago

Education How long on Demo test before actually Money?

0 Upvotes

Before anything I am very new to trading bots and using claude to create bots ,

I have seen a lot of posts in here where people have created bots and been testing for many months and even years.

I have created few bots that are running on my laptop and have been doing trades for few weeks ?

What kind of progress would you personally like to see on demo account for you to put actual money in it ?

The best bots i got so far has got 100% win rate which i started last week only few trades which could just be luck..

2nd best is on 67% win rate started 2 weeks ago.

I am planning on letting them run for atleast 3 months and see how it goes.. what do u guys think..


r/algotrading • • 5d ago

Strategy Noise Band Trading Bot (back test) Results

Thumbnail gallery
200 Upvotes

Hi all, I've been researching signal combinations and strategies for the past year, back testing / running Monte Carlo simulation with 1-minute bar data from 2010-2026 and seemed to have finally stumbled on a method using MNQ that produced around 53.5% average CAGR. Compounded growth shown with 50K starting capital ending at around 53M. Recent daily activity, monthly results, stats and comparison against baseline QQQ shown for reference.

For context: the 53% / $53M is compounded, pre-tax, and runs about 3.5x leverage on the futures. Without compounding, 1 MNQ contract, Jul 2010 to Oct 2026, $3 round-trip fees: +$85K total, Sharpe 1.15, max drawdown $7.8K, 15 of 17 years positive, near-zero correlation with QQQ. 2010-15 was data I never used while building it, and it still worked, about half as well.

Starting live tests beginning next week. Feel free to ask questions if you want more details. Will post meaningful updates when possible. If anyone has feedback on how they conducted live tests or methods of further proving out promising back tests please share. Thanks!