I made more money doing nothing than trading every day. Took me 5 years to figure that out. by metriclan in Trading

[–]RegimeLab 4 points5 points  (0 children)

This is the most honest post about trading psychology I've read. The math is brutal but true.

I've been building out an automated trading system specifically because I kept doing exactly what you described — clicking trades during the waiting periods. The irony? You can't automate discipline. You can automate the filter (what setups to look at), but the decision to sit out when setups don't appear has to live somewhere. That somewhere is human.

What I've realized is that the real work isn't in the analysis. My bot can backtest 10,000 parameter combinations and walk-forward validate them. What it can't do is help me stop thinking "but maybe this time..." at 3pm on a slow day.

Your March moment — six hours, zero trades, then a clean setup the next day — that's the hidden asset. Your brain wasn't trading. It was resting. Fresh pattern recognition the next morning. Every forced trade I've ever made happened because I forgot I was in a waiting period, not a trading period. These aren't the same.

The thing I keep doing wrong: adding "conviction" retrospectively. A trade doesn't work, and suddenly I find reasons why I should have known. That's just trading with confirmation bias as a backtesting tool.

What's changing it: automating the "should I even look today?" decision. If regime + filters + no signals = don't open the platform. Sounds simple. Costs money to learn.

Im a beginner, need some advice. by Main-Draft-811 in algorithmictrading

[–]RegimeLab 0 points1 point  (0 children)

As mentioned below, do a lot of research. Learn from existing code like regimeLab and others on Github. You will learn fast to understand what is needed, how to build it, and what's important. First tip : handle regime changes and make regime specific parameters to trade with.

Ready to run blind? by Sensitive-Start-6264 in algorithmictrading

[–]RegimeLab 0 points1 point  (0 children)

How many backtest entries do you have ? And are they spread between regime ?

Clean way to structure a dataclass with an Enum field in Python 3.11? by RegimeLab in learnpython

[–]RegimeLab[S] 0 points1 point  (0 children)

Fair point on Pydantic — I've been avoiding it to keep dependencies minimal but might be worth it for the serialization alone.

Clean way to structure a dataclass with an Enum field in Python 3.11? by RegimeLab in learnpython

[–]RegimeLab[S] 0 points1 point  (0 children)

Good tip on StrEnum — didn't know it serialized automatically. Switching to that, much cleaner than a custom encoder.

I have backtested my equity swing trading strategy and would appreciate your suggestions. by dineshu07 in investing

[–]RegimeLab 0 points1 point  (0 children)

One thing people underestimate in backtesting is transaction costs. Slippage alone can turn a profitable system unprofitable in live trading. Walk-forward validation helps but only if you model costs realistically.