Hi everyone,
I recently subscribed to quantopian, so I am new to this service, but I would like to say this is a great initiative.
I have an issue relating my trading strategy and the quantopian API limitations. I would like to test (and eventually live trade) a trading strategy which I only need to execute daily. Here is what I need :
* I need to access the history of the stocks of the last 20 days (I used the history function)
* Based on that, I score each stock (I need more than 300, the best would be 500), and decide which one to trade.
The problem is that I am limited by the API. The history function can't be called on daily backtests, and if I use the minute backtests, I can't get more than 160 stocks (due to the limitation of the dollar universe). I could enter myself the list of stocks, but I read there is a limit of 100 stocks when using sid.
Any idea on how I could resolve / bypass this issue ? I know these limitations are probably here for performance issues, but they limit the efficiency of my strategy :).
One solution I can think of is to use the daily simulation, and emulate the history function by progressively saving on a context variable the close prices so I can access them later. But even then, I don't know if this variable will remain accessible when live trading.
I hope my post is understandable :),
Thanks :),