Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
How do I turn my math equation into a coded algorithm?

I created a math equation but how to code it to work in quantopian? In a nutshell, what does this process look like?

4 responses

Hello Jeff,

What is the math equation? Quantopian uses Python (along with some API add-ons described on the help/FAQ pages). A variety of Python modules can be imported.

Basically, when backtesting, you have the opportunity to trade every market day or every market minute (depending on the data frequency you select). In live trading, only minutely trading is available (although you can trade less frequently by restricting the algo).

If you haven't already, I'd recommend reading the help/FAQ docs. entirely, and then trying some of the example algos.

Grant

Thanks Grant I will look it into the sources you've mentioned. It's a basic linear algebra equation using OHLC variables.

Something from numpy/scipy/pandas should do the trick. See http://www.scipy.org/.

Appreciate it!