r/algotrading • • 9h ago

Other/Meta A profitable EA finally!!!

0 Upvotes

I finally have a profitable EA built but I used ai, soooo the only thing about it is that absolutely nothing ive tried so far was able to trade choppy markets profitably. Anyone have anything? I have many strategies I use manually that works well but its mostly discretionary. For the life of me i cant find anything that can work in choppy markets profitably. I used claude fable 2 btw, im no coder. Lolz. Would share the source code if you like as well, I dont mind cuz lots of people need to make an extra dollar and if I can help I sure will.


r/algotrading • • 11h ago

News The best looking backtest I can find has no stop, and its profit factor is 1.20

0 Upvotes

Two published runs, both NQ, both openable without an account. I put them side by side because one of them makes the other look broken, and it shouldnt.

First one is an opening range breakout on the 15 minute. Nov 2020 to Sep 2026, 1,493 trades, +257.5% net, 21.7% max drawdown, 53% win rate, profit factor 1.18, Sharpe 1.28.

Second one buys the last candle of the regular session and sells the first candle of the next one. No stop, no target, no filter, 100% of the account on every entry. May 2016 to Oct 2026, 2,604 trades, +3,784.4% net, 49.3% max drawdown, 56% win rate, profit factor 1.20.

So the second one posts a net return almost 15x larger, and its gross profit per dollar of gross loss is two cents higher.

1.18 and 1.20 are the same rule quality for any practical purpose. Everything between +257% and +3,784% came from somewhere other than the rules: ten and a half years of window instead of five and a bit, a position held through every overnight session instead of being flat by the close, and the whole balance committed on every entry so the compounding runs on the full account.

Two people both earn 7% a year. One puts in 500 a month for six years, the other puts in his whole paycheque for eleven. The second finishes with a far bigger number and he is not the better investor, he just had more money exposed for longer.

The part i keep coming back to is that the no stop version is the one that looks best. A strategy with no stop cannot show you a stop out, so its worst trades are capped by wherever the next open happens to land, and the pain shows up in the equity curve rather than in the trade log. 49.3% on a hundred grand is a $49,300 hole sitting inside that 3,784%.

_____

The overnight gap thing is still a real result and id say so if it was my run getting picked apart. NQ has drifted up for a decade and a lot of that drift lands outside regular hours, 2,604 trades is not a small sample, and holding 1.20 across ten years is something i would want to look at properly. What it is not is a 3,784% edge, and sorting any list by net return puts it above the strategy with a quarter of the drawdown.

Both of these are on the Agenticks community feed with the full rule set and the trade log attached, so the arithmetic is checkable rather than something you take off me. The breakout run reports a Sharpe of 1.28 and the overnight run does not report one at all.


r/algotrading • • 22h ago

Strategy How Much Money Are You Willing to Lose While Developing Your Trading Bot?

10 Upvotes

I've been thinking about something that doesn't get discussed enough in algorithmic trading communities: the financial cost of developing a reliable trading bot before it becomes consistently profitable.

We often see people sharing their strategies, backtesting results, performance metrics, and live trading returns. But we rarely discuss the other side of the process: how much money, time, and capital developers actually sacrifice while building, testing, debugging, and stabilizing their systems.

Building an automated trading system is rarely a straightforward process. It involves much more than developing an entry and exit strategy. There are execution issues, API failures, slippage, exchange fees, latency, risk management, unexpected market conditions, bugs, false signals, overfitting, and countless edge cases that may not appear during backtesting.

And sometimes, a strategy that looks profitable in historical data performs very differently in live markets.

This raises a few questions I'd genuinely like to hear experienced developers answer:

How much actual money have you lost during the development and testing of your trading bot before reaching a stable version? Not paper-trading losses, but real financial losses from live testing, execution mistakes, fees, slippage, and other development-related issues.

How much capital did you initially allocate to testing, and how much additional capital were you prepared to risk before deciding whether the system was worth continuing?

How long did it take you to reach a point where you considered your system technically stable and reliable?

How many major rewrites, architectural changes, or strategy modifications did your bot go through before you were satisfied with its behavior?

At what point do you stop investing money and time into a system that hasn't demonstrated consistent profitability, even if you believe its underlying logic has potential?

Looking back, would you have been willing to lose the same amount of money again to achieve the knowledge and system you have today?

I'm particularly interested in hearing from people who built their systems from scratch rather than simply configuring existing commercial bots.

I also think there's an important distinction between two milestones:

Technical stability: The system executes correctly, handles failures, manages risk, and behaves as designed.

Statistical and financial validation: The system demonstrates a genuine, repeatable edge after fees, slippage, and realistic execution costs.

Reaching the first milestone doesn't necessarily mean reaching the second.

I'm not asking how much you've made. I'm asking how much it actually cost you to get there.

What's your real development cost, and where do you draw the line between investing in a system and throwing good money after bad?


r/algotrading • • 20h ago

Data Insider Quant Data - useful?

1 Upvotes

Hi All,

I posted a while ago in here about providing rolling stats data and market cap day-by-day and I wanted to share what I am wrapping up working on now.

It’s a way to quantify management trust so that you can see all form 3,4,5 directly in excel and create indicators based around mass buy/selling by insiders. So that you can see consistent patterns from individuals (like how Elon likes to exercise call options to buy shares of TSLA at $6 then immediately turn around and sell them at market price), or for seeing who owns what, and interconnected networks (like how sergey brin owns more non-voting, capital c stock than common shares) or how Google owns shares in gitlab and other companies.

I find this type of info useful, but does anyone else like this type of info, and do people like to create indicators based off it?


r/algotrading • • 8h ago

Other/Meta I think I made it. AMA

Thumbnail gallery
194 Upvotes

I've been trying and trying to create a profitable algo for more than 10 years. My background is a PhD in a hard science, and algotrading has always been kind of a hobby of mine, part time for most of those years, full time since last year. The fast progress of AI helped a lot, both for my own learning and for being able to try so many different ideas and methods and things at the same time. I wanted to share a bit of my experience to motivate anyone reading because this has been a very hard and lonely journey and I felt very discouraged very often.

First of all, please do not use martingale, grid, averaging down on losing trades, or any weird mechanism that simply delays losses. Those systems are destined to fail, the only question is when, but trust me, your account will be blown.

Second, do not try to use indicators alone as entry signals, bollinger bands, RSI, supertrend, whatever, do not have any valuable predicting signal, and if you can only justify a winning trade after looking back, it was definitely not thanks to the indicator that magically worked.

Third, there's lots of noise not only in the financial timeseries data, but also in the trash educational content found online. Lots of gurus full of shit, lots of complex strategies that have so many rules but often the guru ignores the ones that are uncomfortable to them in that given moment.

Ignore all that, just work on your ideas, use a scientific approach, be skeptical of any positive results, and learn from the negative ones. There's always a lesson to be learned and sometimes it can take years to really understand that. For me, for example, it took years to accept the reality of the delayed losses of a system that averages down losers. I thought with enough tweaking and finding the right parameters I could find the sweet spot and delay the large losses indefinitely. I was wrong.

Here are some general info and things I found useful:

  1. I used all free publicly available data
  2. I used free software (python, metatrader, ctrader)
  3. I used lots of paid claude plans. I always have the $20 plan and for the deep research months I have the $100 plan.
  4. I generated lots of skills and agents that are very specialized in my own way of working, I often use loop commands to let my pc work wonders while I sleep.

Imo claude or LLMs are not good at generating creative ideas, but they're great at executing specific detailed instructions and can help improve your ideas a bit.

The strategies I found are not limited to one specific asset or market, but they definitely have their sweet spot. Execution can be done on CFD, futures, spot, works either way as long as you have decent fees/costs. Backtest period was from 2017-2026 (OOS from 2024) and live since September. I know it's only been not even 3 months, but I have plenty of evidence that the backtest modeling was sound and the edge and performance is just like the backtests. Will update in the next few months.

I do not feel comfortable now sharing much more about what I trade or how I trade it. I'm very protective of what I created, but I do want to encourage you to keep going.

I understand some of you may be skeptical of the screenshots since I didn't provide any links. I don't care, you can decide to trust me or not.

Ask me anything, I will try to be as useful and as careful as I can.

TLDR: do not use martingale, grid, indicators. Test your ideas, use a scientific approach, leverage AI tools, and you can find an edge. I think I did, AMA.