Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Starting Out

...

2 responses

Maybe numpy's polyfit will suit you...

There are a few quants here who have built strategies that use it.

Thanks!