Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
advice request - copy-&-paste external data into algorithm editor?

Quantopian support & members,

I would like to incorporate external data into an algorithm via a copy-and-paste. As a specific example, as Simon points out in https://www.quantopian.com/posts/empiritages-volatility-based-asset-allocation, he'd prefer to use the actual VIX index data rather than VXX. I figure that it should be straightforward to download the data, format it appropriately with a spreadsheet or text editor (or a Python script), and then copy-and-paste it into the Quantopian algorithm editor.

My first inclination is to keep things simple, and just paste the external data into a numpy array, but perhaps a more sophisticated data structure would be better (e.g. dict, Pandas DataFrame, etc.).

Any advice?

Grant