Hi!
I'm new here and after reading the tutorial i still feel a little lost. (by the way https://www.quantopian.com/tutorials/getting-started#lesson3 -> 'way to refrence a security. ')
If i want to track a security data (id/name, currentprice) for comparison purposes the next day. Where should i store the data?
Should i create a new var in "context" to store the possible portfolio? like
security = sid(24);
context.futurePortfolio = {}; // dunno how python works yet
context.futurePortfolio[security.id] = security;
or should i store them somewhere else? Searching for "save/recording vars" only led me to "def record_vars(context, data):" (https://www.quantopian.com/help#sample-record) but looks more focused on saving them for plot purporses.
All i want is a key-array dictionary so i can iterate it and fastly check if i'm already tracking a certain value by using it's index.