I've been mainly playing with the linear regression algorithm in python, but I don't really understand the purpose of it.
I get backtesting. You have a trading strategy with entries and exits, and you see how many times it wins and loses and how much profit you get from it, and so on.
But I can't figure out how to apply linear regression to that. Anytime I put something together it looks really profitable, but I know that the rules I used don't work in real life. On top of that, attempting to ascertain the profitability of the rules, doesn't really seem to work in the way backtesting does.
Some video made it seem like it's supposed to predict the next/future value of the set, given the parameters. In which case I'm just going about it the wrong way.
I've read a few books, and watched youtube videos, but maybe I'm just too retarded to figure it out.
I get backtesting. You have a trading strategy with entries and exits, and you see how many times it wins and loses and how much profit you get from it, and so on.
But I can't figure out how to apply linear regression to that. Anytime I put something together it looks really profitable, but I know that the rules I used don't work in real life. On top of that, attempting to ascertain the profitability of the rules, doesn't really seem to work in the way backtesting does.
Some video made it seem like it's supposed to predict the next/future value of the set, given the parameters. In which case I'm just going about it the wrong way.
I've read a few books, and watched youtube videos, but maybe I'm just too retarded to figure it out.
