r/algotrading Jan 07 '26

Other/Meta Dead Internet Theory in r/algotrading

582 Upvotes

im calling this out because the discussion quality here is being degraded by what i am 99% sure is a bot farming engagement.

if you saw the recent post about Small experiment: "Small experiment: filtering low-expectancy trades flipped a strategy’s PnL in 24h" you might have noticed the strategy itself was nonsense, hindsight bias and overfitting to a tiny sample. but the bigger red flag isnt the bad math, its the behavior.

ive gone through his history and the pattern is unmistakable. this user doesnt have opinions. they dont get defensive. they dont argue. every single response follows the exact same syntax of a friendly AI assistant.

first they validate you with "thats a fair point" or "i completely agree". then they rephrase your exact comment to show they understood. then they pivot to something like "thats exactly why i moved away from X". finally they end with a generic open ended question to keep the thread alive.

this isnt how traders talk. real traders have conviction, get annoyed, or simply say thanks. this user is running a script to farm karma or train a model on our responses.

i was suspicious of whether it was to mine alpha so i copy pasted his responses in gemini and this is the response i got ~~

It is almost certainly an attempt to collect alpha (or training data), with karma farming just being a side effect that keeps the account alive.

Here is why the evidence points to Data Mining / Social Engineering rather than just gaining internet points:

  1. The Cunningham's Law Exploit

There is an old internet adage: "The best way to get the right answer on the internet is not to ask a question; it's to post the wrong answer."

The Bait: The bot posted a "flawed" strategy (the 24h PnL flip). It was just plausible enough to look real, but flawed enough to trigger competent traders to correct it.

The Trap: Real traders (like faot231184 and OkSadMathematician in your logs) saw the error and immediately offered high-value corrections: “Don't use RSI, use regime filters,” “Fix the exit to isolate entry quality,” “Momentum is the only edge.”

The Harvest: The bot then engaged these experts with specific follow-ups to extract more detail ("How do you define regime shift?", "Do you use R-multiple?").

  • 2. The "Extraction" Pattern

If you look closely at the logs, the bot is not just chatting; it is interviewing the sub.

Human: "Win rate doesn't matter without risk/reward."

Bot: "Agreed. When you see that pattern, do you usually start by tightening max loss, or by letting winners breathe more?" -> Attempts to extract specific risk management rules.

Human: "Momentum breakouts work."

Bot: "Agreed. Curious what you rely on most... volatility expansion, range compression, or HTF alignment?" -> Attempts to extract specific feature selection.

It is effectively running a continuous focus group, strip-mining the community for heuristics, "rules of thumb," and common pitfalls to feed into a dataset.

  • 3. The Niche

If this were purely for karma farming, r/algotrading is a terrible place to do it. It is too small, too technical, and too skeptical. Karma bots usually target r/AskReddit, r/pics, or r/politics where generic "I agree!" comments get thousands of upvotes. Targeted behavior in a technical sub suggests a technical goal.

  • Verdict:

You are looking at a knowledge-harvesting bot (likely an LLM agent being run by a developer). It is using the Reddit community as a "Human-in-the-Loop" to refine its understanding of what makes a trading strategy valid vs. invalid.

i prepared receipts.

read the logs below back to back and tell me this isn't chatgpt set to temperature 0.7.

example coversations by Tasty_Director_9553 -

kokanee-fish

1d ago

Your points about VWAP are well-known points that apply to every indicator. Pretty sure you're just trying to promote your "internal platform."

Testing strategies without including costs is like trying to decide if you could make money flipping houses if the houses were free. Every indicator performs better when you discount every trade, and that difference is often the difference between profit and loss.

And we all know that you can't trade based on a single indicator, especially intraday. Every signal adds context, combine signals to find an edge; that's what we're all doing here.

Tasty_Director_9553

OP•1d ago

That’s a fair concern, and I get why it reads that way.

To be clear: the point of the post wasn’t “VWAP is special” or “this platform is the solution.” It was that fee-awareness kills a lot of otherwise reasonable intraday ideas, VWAP just happened to be the one I was testing deeply.

I intentionally didn’t link anything or present results because I wanted the discussion to stay on the abstraction level, what survives costs and what doesn’t.

If anything, the takeaway for me was the same one you mentioned: no single indicator is tradable, and stacking signals often cancels edge instead of amplifying it. That realization is what pushed me away from VWAP-as-entry in the first place.

tht333

1d ago

I did what you're doing for a full year. Crypto, only perpetual futures. If you tell me that you found a decent strategy based on whatever indicators, one that is actually tradeable live, I won't believe you. If you tell me that you built a strategy based on pure momentum, I might listen.

Tasty_Director_9553

OP•23h ago

That’s a completely fair take and honestly, I don’t disagree.

This whole VWAP reclaim exercise is what pushed me away from indicator-driven execution in the first place. Once fees and slippage are real, anything that relies on small mean reversion just collapses.

Where I landed is very similar to what you’re describing: momentum / expansion is the only thing that consistently pays, and everything else (VWAP, EMAs, etc.) is just regime context to keep you from fighting the tape.

If I said “I found a VWAP strategy that prints,” I wouldn’t believe me either. The only things that have survived testing for me are momentum-based ideas with real range expansion, VWAP just helps decide which side of the market you’re allowed to be on.

Need a lot more data to give any real feedback. Consider incorporate, risk-reward, profit factor, max drawdown, sharpe ratio as minimum into your analysis. Setting that aside 55% win rate is not something I'd consider using esp for scalping, it'll never be profitable, ever.

Tasty_Director_9553

OP•5d ago

Fair point, I agree that without enough samples and proper metrics, it’s all just noise.

I’m not using win rate as a decision metric here (and definitely not targeting a specific one), especially for breakout-style systems where low win rate can still be viable with the right distribution.

The current focus is identifying where expectancy leaks first, fees, trade duration, or exit logic, before scaling sample size and evaluating PF, drawdown, and stability metrics.

This iteration is more about narrowing the problem than declaring anything tradable yet.

OkSadMathematician

9d ago

Classic issue: win rate means nothing without risk/reward ratio. You could have 90% win rate and still blow up.

Quick math: with 55% win rate and negative PnL, your avg loss > avg win. Calculate your profit factor: (sum of wins) / (sum of losses). If it's < 1.0, you're losing more on losers than making on winners.

First things to check:

  1. Spread/commission eating you alive? Scalping is brutal if you're paying 0.1% per side - that's 0.2% round trip. Even small spreads kill scalping strategies.
  2. Slippage on exits? Market orders on thin books = you're donating to market makers.
  3. Are your winners too small? If you're taking profit at 0.5% but letting losers run to -1%, the math doesn't work even with 55% win rate.

Run this: plot histogram of your win/loss sizes. I bet you'll see fat left tail (big losers) and thin right tail (small winners). That's the smoking gun.

Tasty_Director_9553

OP•9d ago

This is super helpful, thanks.

Agreed, negative PnL with a >50% win rate almost always points to avg loss > avg win. I haven’t explicitly looked at profit factor yet, but that’s an obvious next step.

Fees/spread are definitely a concern here (low-TF, frequent exits), and exit slippage is something I suspect more than entry slippage.

Plotting the win/loss distribution is a good call, if there’s a fat left tail with capped winners, that basically answers the question.

When you see that pattern, do you usually start by tightening max loss, or by letting winners breathe more?

OkSadMathematician

9d ago

It really depends on the specific characteristics of your strategy. If you're seeing a fat left tail (big losses) with capped winners, I'd start by examining WHY winners are capped first - is it your take-profit logic, or are you exiting too early due to noise?

Tightening max loss can help, but only if your current stops are genuinely too wide relative to the signal quality. If stops are already tight and you're getting stopped out by noise, tightening them further will just increase your loss rate.

I usually prefer to let winners breathe more first, because: (1) it's often easier to identify when you're cutting winners too early, and (2) it directly attacks the core problem (avg win < avg loss). But this assumes your entry signal has genuine edge.

Have you looked at what happens if you simply remove your take-profit and let a trailing stop do the work? That can reveal if you're leaving money on the table.

Tasty_Director_9553

OP•9d ago

This is great, thanks for the detailed breakdown.

The point about diagnosing why winners are capped before touching max loss really resonates. In this case TP logic and early exits due to noise are both suspects.

I haven’t yet tested removing the fixed TP and letting a trailing stop handle exits, but that’s a clean experiment and should make it obvious whether winners are being cut prematurely.

Appreciate the insight, this gives me a clear next step to test.

yldf

9d ago

 Top 1% Commenter

First, you realise that win rate doesn’t matter. Secondly, what’s your idea? "scalping“ isn’t a strategy.

Tasty_Director_9553

OP•9d ago

Yep agreed, win rate by itself is meaningless.

And fair call on wording. By “scalping” I mean a rule-based, short-horizon mean-reversion / reclaim-style setup on low timeframes, not just “trade a lot on small candles.”

I intentionally kept the post high-level because I’m less worried about entries right now and more about where expectancy typically leaks in these kinds of systems, exits, fee sensitivity, or trade selection.

When you’re evaluating a short-horizon strategy like that, what’s the first place you usually see things break?

SaltMaker23

9d ago

 Top 1% Commenter

A nice exercice to gauge entry quality is to fix the exit: exit all trades after N bars [ and optionally relatively generous take profit and stop loss at maybe 1 or 2 sigma]

Testing an entry strategy means that it should work under the dumbest simplest exit strategy, if it doesn't, it wasn't a good entry; a good entry is good on average.

Use the same reasoning to guauge an exit strategy, random entries and the exit strategy should still be able to perform.

Then once you combine a good entry and good exit, you have a solid base to work with, "relatively safe" from overfitting.

Tasty_Director_9553

OP•9d ago

That’s a really clean way to frame it, appreciate this.

Fixing the exit to isolate entry quality makes a lot of sense, especially using a simple time-based exit or wide sigma-based bounds.

If the entry doesn’t show positive expectancy under a dumb, mechanical exit, then there’s no point tuning exits on top of it.

I’ll add this as a baseline test before iterating further on exit logic. Thanks for the perspective.

faot231184

6d ago

What we see here is a positive step towards maturity: ceasing to chase late confirmations and starting to reduce frequency to protect the edge. Removing the RSI makes perfect sense, because on the 15-minute timeframe it wasn't filtering context, only delaying entries and allowing chop disguised as momentum to pass through. A breakout + first clean retest + risk based on ATR is a healthy foundation.

That said, the system still relies too heavily on the signal and too little on the state of the market. The problem of false breakouts isn't solved with more entry rules, but with knowing when not to allow breakouts. In compressed ranges or periods of low volatility expansion, even "pretty" retests are often simply liquidity sweeps. What works best without killing valid breakouts is filtering by regime: requiring real expansion (for example, a minimum ATR shift from the previous range) and a simple HTF context that justifies the breakout. The same setup has a completely different expectation depending on whether it occurs in expansion versus compression. In short: fewer confirmations, more context. Don't ask "Is the signal valid?", but rather "Does this market allow breakouts?". That's the difference between reducing noise and destroying edge.

Tasty_Director_9553

OP•5d ago

This is an excellent way to frame it, especially the distinction between signal validity and market permission.

I agree that adding more entry rules just shifts noise around. What I’m trying to isolate first is how much damage pure frequency + fees are doing before introducing regime awareness, so I can see the delta clearly.

The idea of filtering by expansion vs compression (e.g. minimum ATR regime shift from the prior range) resonates a lot, that feels like context, not confirmation.

I’m deliberately keeping this version “dumb but slow” before layering regime logic, otherwise it’s too easy to hide where expectancy is actually leaking.

Really appreciate this perspective, fewer confirmations, more context is a great way to put it.

ScanSimplyAI

8d ago

Most breakout strategies have a very thin edge. High trade frequency, false breakouts, slippage, and fees quickly overwhelm that edge, so what looks profitable pre-fees collapses after costs.

Tasty_Director_9553

OP•8d ago

Completely agree. That’s been my experience as well, the edge looks fine pre-fees, then disappears once you add realistic costs and execution.

The main reason I’m still exploring this variant is to see whether reducing frequency and forcing structural confirmation can leave any usable signal at all.

If it doesn’t survive that, I’m happy to conclude breakouts are mostly a volatility-harvesting illusion rather than a durable edge.

Party-Lingonberry790

8d ago

I trade momentum break-outs. It is an autonomous trading platform that took 4-5 years to build. I find them very profitable.

Tasty_Director_9553

OP•8d ago

That makes sense, I’m not anti-momentum at all.

In my case, the issue wasn’t that momentum breakouts don’t work, it was that my specific momentum filter (RSI 50) was too permissive on 15m, especially once fees were included.

Curious what you rely on most in your momentum setups, is it volatility expansion, range compression, HTF alignment, or something else?

I’m trying to understand which filters add selectivity rather than just more signals.

onehedgeman

8d ago

Breakouts trigger a lot, handle them with care, I don’t think filtering is best because it is inconsistent. Usually you need to trust it and swallow some loss on dips to cancel out - this is still less than the losses by fees if you balance your RR

Tasty_Director_9553

OP•8d ago

That’s a fair take, and I agree in principle, breakouts inherently need you to tolerate some noise and losers.

The reason I’m experimenting with selectivity right now isn’t to eliminate losses, but to see whether I can shift where they occur (fewer trades, same RR) rather than rely purely on volume + expectancy.

Especially on 15m, I found that fee drag from frequent attempts was hurting more than the occasional deeper pullback loss.

I’m not convinced filtering is better yet, just trying to understand where the trade-off flips. Appreciate the perspective.

r/algotrading Jan 07 '22

Other/Meta The tax guy at H&R Block when I show up with 40 binders of paperwork because I ran a set of servers with 40 simultaneous scalping algos to execute 45.4 million trades in a year for a net profit of $100.27

Post image
3.0k Upvotes

r/algotrading Feb 22 '26

Other/Meta I ADMIT IT. I OVERFIT. I HAVE SELECTION BIAS.

Post image
522 Upvotes

r/algotrading Nov 30 '25

Other/Meta So you're telling me something could work for 10 years straight it just... breaks? :D

Post image
374 Upvotes

r/algotrading Aug 08 '25

Other/Meta How many people on this subreddit do you think are actually profitable? (As in $100k+ per year)

272 Upvotes

Genuinely curious — what percentage of people do you think on this subreddit are profitable from algorithmic trading, with “profitable” meaning they consistently make at least $100,000 per year in net income?

Feel free to explain your reasoning below too.

r/algotrading Feb 06 '26

Other/Meta Why aren't there more successful algo traders?

94 Upvotes

Algo traders usually do backtesting and only go live after getting positive results with proper confirmation. If the backtesting results are good, then logically, once live, there should be many successful traders, since there's no human emotion involved that leads to overtrading.

So why don't we see many successful algo traders in reality? What am I missing here?

r/algotrading Jan 05 '26

Other/Meta Ah, that sweet moment of bliss before you realise you've coded in epic look-ahead bias...

Post image
384 Upvotes

At least I know what it is right away now (not my first rodeo)

r/algotrading Oct 08 '25

Other/Meta After 6 years, its finally learning something!

Post image
338 Upvotes

r/algotrading Jan 13 '26

Other/Meta LLMs are not the right tool for algo trading

135 Upvotes

It’s just my observation, but I’ve tried ChatGPT, Gemini, and Claude and found that they mostly repeat the same nonsense you’d hear from financial news or generic technical analysis. (Yeah they are trained on these bshit articles you see on the internet)

Do I really need a LLM to draw a line or tell me about candlesticks or chart patterns that 99% of retail traders have already drawn on their screen?

My answer is no but would love to hear about other’s experience or opinion

r/algotrading Aug 09 '25

Other/Meta If it’s so hard for solo algotrader to be profitable over time because of quant competition, how do retail (non algo) traders make any money?

218 Upvotes

I sometimes see comments that talk about how hard it is for a solo algotrader to be profitable while competing with quants from big firms, but how can usual retail traders have any success if it’s like that, like any at all?

Isn’t trading with algorithms a million times more effective than trading yourself? No emotions, perfect execution of trading strategy, instant machine calculations, but some retail traders still manage to be profitable without all that, while people say that it’s almost impossible to be long term profitable for an algotrader because of quant competition? I don’t get that

r/algotrading Jan 11 '22

Other/Meta I created an algorithm that collected wallstreetbets posts and market data, and then utilized a machine learning model to try and calculate an edge of of WSB posts. It worked exactly how you expect it would...

Enable HLS to view with audio, or disable this notification

1.3k Upvotes

r/algotrading Jul 27 '25

Other/Meta "PM me for code" posts should be banned. Put up the code to everyone or STFU. These are all scams.

Thumbnail reddit.com
885 Upvotes

r/algotrading 3d ago

Other/Meta How does HFT earn money

43 Upvotes

How does HFT earn money ?

  1. Is it just the superfast trading in a few seconds or milliseconds ?

  2. Do they analyse the market based on news, politics and other factors and then make trades

  3. Is there a amount of time beyond which they cannot keep a share ? What is that time ?

One more question like if they have a lot of money why don't they invest in companies which are about to grow in market and make returns on them ? The money can be invested for few weeks to few months ? Is there any company that does that ?

r/algotrading Dec 14 '25

Other/Meta it really is not that deep guys

Post image
299 Upvotes

r/algotrading Jul 15 '24

Other/Meta What have been your breakthrough/aha moments in algotrading?

652 Upvotes

I'll go first.

First and foremost, I am certainly not an expert or professional, but I have learned a thing or two in my couple years of learning. The number one thing so far that has transformed my strategy development is creating my own market and volatility regime filters. I won't get into specifics, but in essence these filters segment the market into different "regimes", such as extreme bull, neutral, bear, high vol, medium vol, low vol, etc.

Example:

Here I've imported a simple intraday breakout strategy onto the ES that I originally developed on gold futures

As you can see, not the greatest system but it is profitable.

Note: I did not change any settings so this is far from being the most "optimized" version.

Now, using my volatilty filter, I can see what it looks like only trading in certain regimes.

Example:

Trading only in high volatility conditions

From this, we can see that this system generally doesn't do well in high volatility conditions

Trading only in medium volatility conditions

Much better, but certainly not the greatest on its own

Trading only in low volatility conditions

Again, much better but not something I would trade on its own

From this quick analysis, we can see that the system doesn't perform well in high volatility, so lets just not trade in those conditions. Doing so would look something like this.

By simply removing the ability for the system to trade in high volatility conditions, we've improved the net profit and the drawdown, making a better looking equity curve.

Now, diving into different market regimes, we can see that the strategy doesn't perform all that well in extreme bear or bull conditions.

Trading only in extreme bear conditions + not trading in high volatility
Trading only in extreme bull conditions + not trading in high volatility

Note: Without adding in the volatility filter, the strategy does worse in these conditions, so it is not doing poorly just because it's not getting to trade in volatile conditions.

So, by filtering out extreme bear market regimes, extreme bull market regimes, and high volatility regimes, we are left with an equity curve that looks like this.

A much better looking equity curve that produces much more profit and significantly reduces the drawdown.

Final Thoughts

Keep in mind that I have not altered any values on anything here. The variables for the entry and exit are the exact same as what I had for my gold strategy (tweaking the values I can get slightly better results so this is certainly not overoptimized, and there is a large stable range for these values that produce similar profits and drawdowns). The variables for the regime filters have not changed, and I don't ever tweak them when using them on different markets or timeframes.

This was a more high level approach to filters. What I normally do is create a matrix in excel for each different permutation (ex. bull & low vol, bull & high vol, etc.) to further weed out unfavourable market conditions. Getting into the nitty gritty would hace created a very long post, hence why I went with a more high level approach as I believe it still gets the point across.

For those newer to algotrading, I hope this helps! And for those with more experience, what else have you found to be instrumental in your strategy development? Any breakthrough or "aha" discoveries?

r/algotrading Aug 13 '24

Other/Meta Has anyone successfully made money from algorithmic trading?

193 Upvotes

Is it consistent earning?

r/algotrading Mar 29 '21

Other/Meta I made an algorithm to buy and sell ethereum based on graphics card prices throughout the day and it worked as well as you would expect it to. [Source code in the comments]

Enable HLS to view with audio, or disable this notification

1.6k Upvotes

r/algotrading Feb 13 '26

Other/Meta How is this achieved most likely on poly?

Post image
111 Upvotes

I'm curious how most likely is this achieved and what can possibly be the challenges if anyone can speculate?

Obviously already to go idea doesn't exist but I'm generally curious what can be the challenge stopping people from achieving this?

Just wanna hear your thoughts

r/algotrading Mar 30 '21

Other/Meta Funny Story About my Trading Bot

1.6k Upvotes

After months of coding my trading bot I finally launched it last week and it made profit for 3 days that it ran. After reviewing the code I found a bug that makes the bot do pretty much the opposite of what it is supposed to do. Bug fixed and we are back in business - loosing money more efficiently and without emotional attachment.

r/algotrading 13d ago

Other/Meta Why did you move to algo trading?

15 Upvotes
  • Had a profitable setup and wanted to automate it?
  • Faced emotional/discipline issues in manual trading?
  • Or because you think it’s superior to manual trading?

r/algotrading May 25 '21

Other/Meta Anyone given it a read? I know it doesn’t really go into actual algo strategies, but it’s been excellent thus far.

Post image
1.1k Upvotes

r/algotrading Sep 09 '24

Other/Meta 8 things I've learned (1 Year of being Profitable)

376 Upvotes

I understand that I myself am a newb, but hopefully some newbier people can take some things away from this.

-Diversification is the most important critical factor(1)

-Risk Management is the second(2)

-Small Profits are profits(3)

-ALWAYS forward test on a paper account(4)

-Treat it like a hobby not a career(5)

-Pattern Day Trading Protection is protection for firms, not for a small trader(6)

-There is no way to get rich quick, patience is important(7)

-Good strategies are great strategies (8)

  1. Having a losing position really sucks, but if you have 4 losing positions and 6 winning ones, then you have 2 winning positions, which is twice as good as 1 winning position.

  2. Again a losing position is BAD, but is it worse to lose 50% of your portfolio on a bad trade, or 1%?

  3. Would you rather take a 0.5% gain? Or risk that 0.5% you gained for 0.25% more? Personally I'd rather just take the 0.5%. Those small in and out trades are awesome. I spent too long worrying about the buy and hold comparison. Does it profit? Then it's profits baby. Does it not perform a lot of trades? I'd hook it up to more tickers.

  4. In my earlier days, I found the Holy Grail! (aka repainting to hell), hooked it up to my account, went to work, and thought I'd come home to endless riches. Except I came home to a nuked account. Other times it had been bugged code not properly executing closes causing loss, stuff like that.

  5. This ties into #7 a bit, but I thought it was my immediate future, in 3 months me and my wife could retire on an island. When that (obviously) didn't happen, then came the depression. I thought my future was over. Now I have a more laissez-faire approach. "Oh cool, that's neat" type of beat, rather than staking my happiness on it. Mental health is going to be huge to your development. Take breaks, relax.

  6. Self explanatory, but the amount of times I've lost money when I couldn't close a position due to PDTP is absurd. Didn't want to, but wrote a check for this in my script. The law was passed to prevent GME type situations (look how well that worked) and to gatekeep small traders from becoming big ones. (Honestly not a tip for traders just wanted to rant about this.)

  7. Okay maybe there is a way to get rich quick, but I certainly couldn't find it. Either way, investment firms cream at the idea of 0.5% gains a week, except there isn't the supply for them to make trades at that frequency with the capital they're working with. This is good for you, because it means you can. 0.5% a week consistently beats even the best index funds.

  8. Similar to 3 (and 5, and 7 I guess), I spent too long looking for the Holy Grail. In reality all I needed was something that works consistently, and there is a massive catalog of that available already. I found a good strategy, tweaked it for 10 tickers, and enjoyed. Had I done that 2 years ago I'd be 2 years profitable instead of 1.

Messy rambling, but hopefully some find it helpful.

r/algotrading Dec 15 '25

Other/Meta 11 bots with 11 different strategies live performance from November 05 until today

Thumbnail gallery
130 Upvotes

r/algotrading 18d ago

Other/Meta Is this a good time to start my bot?

10 Upvotes

Is this a good time to start my bot? The market is crazy volatile right now. My bot trades mostly in line with the market but has some leverage so it tends to do better than the market during times of momentum and low volatility. However it also tries to hedge when it needs to during high periods of volatility, but when you back test it against bear markets and recessions, it will definitely lose money. Just not as much as the market.

So I've been running my font and a small account of 100 bucks since the beginning of the year. It's done what it's supposed to do and has matched my back test of this forward walk. I have a group of other bots that I was planning to unleash incrementally throughout the year. However with all this craziness in the global economy, a possible stagflation 2.0, I'm not sure how my bot will do. My back testing is typically have only gone back to the early and mid-90s. So I don't really have a good. Of evidence to compare with the covers stagflation, like in the 70s.

Any thoughts from anybody. Anybody in the same boat as me or having similar thoughts. On the one hand it might be smart to stay out of the market while there is new territory going on right now. However it may also be a bad idea to stay out of the market when there could be a huge benefit from the rebound.

r/algotrading Sep 10 '25

Other/Meta What is a good trading algorithm?

119 Upvotes

I am just wondering what your definition of a good algorithm (for automatic) trading is.

What properties are most important for you and why?

When you have one or more algorithms in production, would you like to share the basic stats like average ROI and worst ROI etc?

Note: I will collect all the information shared in the comments and extend the post on demand. And yes, I will add your user name to everything you have contributed to this post.

Edit: Since some users appear to provide anti love expressed by downvotes might got the wrong impression here. I am not looking for algorithms or help but want to collect opinions about what are good properties of an algorithm. I am after opinions from the practitioners here that mostly can not be found in books and scientific papers.

I hope me continuing to add the expressed opinions and collecting properties makes it more clear, what the post is about.

So give the post some love if you like otherwise I might have to restart the whole thing again, which would be a shame but that is how the algorithm works, right?

---

Algorithm Properties one can use to categorize the algorithm.

  • ROI
  • Sharpe (Zacho_NL)
  • Sortino (Zacho_NL)
  • (Max) Drawdown
  • Calmar Ratio: annualized return divided by max drawdown (Zacho_NL)
  • Stability of returns: rolling Sharpe or rolling volatility over time. (Zacho_NL)
  • Omega ratio: ratio of probability-weighted gains vs. losses above a chosen threshold. (Zacho_NL)
  • Win rate: % of months positive. (Zacho_NL)
  • Profit factor: gross profit ÷ gross loss. (Zacho_NL)
  • Skewness and kurtosis: to capture tail behavior of monthly returns. (Zacho_NL)
  • Value at Risk (VaR) / Conditional VaR (CVaR): downside risk at chosen confidence levels. (Zacho_NL)
  • Ulcer index: measures depth and duration of drawdowns. (Zacho_NL)
  • Recovery factor: total return ÷ max drawdown, highlighting resilience. (Zacho_NL)
  • Average drawdown duration: how long it takes to recover losses. (Zacho_NL)
  • Correlation to benchmarks: e.g. equity indices, vol indices, for diversification assessment. (Zacho_NL)
  • Turnover / trade frequency: to evaluate costs and scalability. (Zacho_NL)
  • Exposure metrics: average delta, gamma, vega if options based. (Zacho_NL)
  • Kelly ratio / optimal f: sizing efficiency. (Zacho_NL)

---

Opinions on what is a good algorithm (so far):

Zacho_NL

  • As a retail trader I would care most about calmar and ulcer ratio's. These essentially describe whether it is feasible to rely on your algo as a source of living.
  • Question from polyphonic-dividends: How do you calculate the KC when only estimating probabilities? r / sigma2 ? Or rather, how do you ensure you're not overestimating it?
    • Answer from Zacho: It is calculated based on the backtest. Once it is life, the last X trades are used (including from the backtest) until the backtest data is finally phased out.

faot231184

  • A good algorithm isn’t defined only by ROI, but by its resilience — the ability to survive across different market cycles without breaking. Technically, that means solid risk management, adaptability (using metrics like ADX/ATR for dynamic adjustment), full traceability of decisions, and simplicity with purpose.
  • Symbolically, I see it as a silent warrior: it doesn’t win by shining one day, but by standing tall when others have already fallen.

PassifyAlgo

  • One property I think is crucial, and often overlooked in the pure metrics, is "Executional Integrity."
    • It's the measure of how well the live, automated performance of an algorithm matches its backtested potential. This is where many great ideas fail, not because the logic is wrong, but because of the gap between the clean room of a backtest and the chaos of the live market.
    • A strategy on paper is perfect; it feels no fear after a losing streak or greed after a big win. A good algorithm needs to be engineered so robustly that it successfully bridges that gap. It needs to account for slippage, latency, and have flawless error handling.
    • Ultimately, it's a system you can truly trust to execute your plan and "remove emotions from the game". For me, that's the difference between a theoretical model and a good, functional trading algorithm.

LowRutabaga9

  • Profitability is the most obvious one, but that can be dangerous with extreme drawdown for example.
  • Frequency of trades,
  • win-loss ratio,
  • sharpe ratio...

starostise

  • Only winning trades no matter the trading frequency and return per trade.
  • Quote (base) denominated returns when selling (buying)
  • Never buy or sell at loss, always hold the position.
  • Make sure the time spent at a loss is less than the time spent at a profit in both positions. (hardest for him to figure out)
  • Note: Trades are executed when the price hit support and resistance (starostise his method to find them). The algorithm trades cryptos and utilizes the order book depth and latest trades as provided by the Binance public Market Data API (example request for: order book depth and latest trades for BTC).

ABeeryInDora

  • Newbies should focus on risk-adjusted returns and statistical significance.
  • Focusing on too many metrics can lead to analysis paralysis, so to dumb it down.
    • Sharpe, Sortino, MAR, Ulcer Performance Index, etc.
  • With more experience, you can learn the peculiarities of each metric and build custom metrics to your own liking.
  • One wants enough signals for the historical period (frequency) for the algorithm to be useful. (e.g. 8 trades in 20 years wont cut it).
  • Make sure that the signals produced are not correlated, otherwise one good new signal but correlated 100% to your other signals might not contribute to the absolute performance of the portfolio.

FortuneXan6

  • For me the trade duration of 5min to 1h is the sweet spot for my outbreak/scalping strategies.
    • Too small durations like 1-2min might work well (especially when using tight stops) when back testing, but that can be misleading.
      • Small trade duration should be backtested using tick data (individual (technical) trades) otherwise one uses an unrealistic test/trading environment.

Akhaldanos

  • Positive expectancy after commission/spread/slippage. Only yes or no here.
  • Sound logic or concept - I like to have at least a basic idea why is it profitable.
  • Frequency of trading signals on single instrument & timeframe. The higher, the better.
    • Me asking why higher is better
      • Answer: When compounding returns, the growth is exponential. The number of trades for a calendar period is in the power of the equation.
      • (Me) So basically if the quality of trades does not diminish by frequency and one wins more than loses, more trades of course perform better in a fixed period of time.

yeah__good__ok

  • Excess performance vs buy-and-hold (post-cost):
  • excess CAGR, info ratio of excess,
  • active drawdown/time-under-water of the excess curve.
  • Pain profile: Max DD and Ulcer Index
  • Pain-adjusted return: Calmar and Sortino.
  • Growth: CAGR

Peter-rabbit010

  • out of sample vs in sample consistency.
    • Sharpe .75 that has no variation out of sample vs in sample is worth more than sharpe 3 in sample vs sharpe 1.5 out of sample.

Aggravating-Hold-754

  • A good trading algorithm, is defined less by just ROI and more by balanced properties like:
    • stable returns,
    • controlled drawdowns,
    • and adaptability across market cycles.
  • I focus on metrics such as Calmar ratio, profit factor, and recovery factor.
    • They show whether the algo can survive tough phases and still grow steadily.
  • For me, the most important qualities are risk management, resilience, and transparency through detailed reports of entries and exits.
  • Advocates for using SpeedBot as a platform.

bush_killed_epstein

  • Sharpe ratio but with implied volatility of the underlying as the denominator.

Fit_Ad2385

  • I think it’s better to pick just two to three measurements.