
2 months progress: issues, fixes, and live results of my quant engine.
I am an ML engineer with 9+ years of experience. A while back, I grew tired of watching traditional mutual funds charge high expense ratios while underperforming in a choppy, unpredictable market.
Mind you, I am a full-time employee. I don't have the time to sit and stare at live charts all day. I wanted to use my engineering background to build a completely systematic approach to swing trading. I started coding this last December, launched it to the public in July, and here is how it's going.
The Live Results (Skin in the Game) I’ve been trading live using the app's signals since March. Over the last 4-5 months, the live account has netted a realised profit of +₹21k.
The Issue: What the new paper trading module revealed In July, I built a paper trading/simulation engine into the backend to stress-test the math further. Over the last month, the paper trading simulation showed about +₹8k in profit, but the ride wasn't smooth.
I attached a screenshot of the backend simulation dashboard. You can see the simulated equity curve took a pretty nasty dip in mid-July. When I broke down the strategy data, I found the culprit: my "Pure Momentum" strategy was bleeding money (0.26 reward factor). Meanwhile, the "Quality Value" setups were carrying the whole portfolio with a 75% win rate.
The Fix: What I changed this weekend Looking at the bad data from the July simulation, I realized my risk-reward logic wasn't strict enough on momentum plays. I spent this weekend pushing some major fixes to the core engine:
- Forced 1:2 Risk-Reward: The script now calculates a strict 1.5x ATR stop-loss and a 3x ATR target. If the math doesn't offer at least a 1:2 setup, the engine automatically rejects the trade.
- Anchored VWAP: Added a 20-day AVWAP check. If a stock is trading below its 20D AVWAP, the engine ignores it to avoid catching falling knives.
- F&O Sector Breadth: Added a market breadth check (Advances vs Declines). It won't give a buy signal if the parent sector is actively dumping.
Final Results & Next Steps The engine is much tighter now and rejecting low-probability setups before they even reach the dashboard. Let's see how things go in the future. Will keep folks posted.
For those who have been asking or using it, I've kept the price at just ₹199/month for the first 100 users to access the Quality Value & Unified Strategy (both of which have great reward factors). This just helps make the app's server costs sustainable. Everything else on the app is completely free.
You can check out the updated version here: 🔗 https://www.thestockmind.com
Thanks to everyone who gave feedback on the last post. If any other devs/traders have ideas for metrics I should add to the scoring algorithm next, let me know!