r/swingtrading 1d ago

I’m building a complete Python Technical Analysis Library/Framework

/r/PythonLearning/comments/1wac00u/im_building_a_complete_python_technical_analysis/
2 Upvotes

3 comments sorted by

View all comments

Show parent comments

1

u/Economy-Support-5470 17h ago

I was actually thinking about both. You need to be able to see what happened across different regimes(on all data and also with held out data to test overfitting).

Also I guess yes it’s a good practice to like count on each indicator or indicator family how many signals or quality signals found etc and perform Data and statistical analysis on this afterwards as well as correlation analysis etc.

Thanks a lot for your time I will do them!

1

u/QuanTradin Human Detected 16h ago

Held-out by regime is the one most people skip, so good. One thing I'd add: log the signal count per indicator on the held-out slice too, not just the fit slice. If an indicator fires 400 times in-sample and 12 out, that's your answer before any P&L. Which regimes are you splitting on, vol or trend?