Maybe I didn't give it chance but I made what I believed to be two improved versions which I'm testing now. I have to wait for the simulated results since the algorithm can't be sped up very much.
I can't really use many more than about 8 days of data for performance reasons.

I should hopefully increase performance however. I also need to do more tests.