Hi. I am trying to get some custom data from Yahoo, but I can't get it to work properly. I cannot use Quandl as they are missing some stocks I need.

I'm a beginner at this, but it seems the data needs to be sorted ascending, so I cannot use the csv from ichart.finance.yahoo.com directly? I used YQL and sorted the data, but it returns in JSON format so I tried to change it into CSV and pass to Reader. Not sure if this is the right way to go, but I thought it would work.

It should be a fast and easy backtest, but it takes a long time with warnings: "Your algorithm messaging has been rate limited to prevent browser flooding."

It then ends eventually saying I ran out of RAM.
Pretty sure I'm doing something wrong...

Hope someone have some time to point me in the right direction.

Author