Hello
I have done a visual representation of what 'data' is because i'm having some trouble understanding how it's done in order to understand the fundamental panel in the Piotroski score example.
i have the red axis (equities) as the keys of the panel, the orange axis (dates) as one axis and the green one as the other axis.
So basically the panel itself is the AAPL dataframe (top left of the image) repeated for every equity in my universe.
Is that correct?
https://www.dropbox.com/s/8uagqnyqhib1uff/data.png?dl=0
And actually what i have not understood is this:
If data contains all the equities (keys of the panel), and for all equities their SIDData (1 axis of the panel) and the second axis of the panel is the dates, why i get an error if i say for example:
data[context.security1]['1/1/2014']
what i expect from this command is this:
1) data[context.security1] returns SIDData for my first equity: close_price, datetime, dt, get, high, low ecc...
2) ['1/1/2014'] specify the date for wich i want this SiDData.
So what i think is that data is indeed a panel, but the date axis is limited to 'Today' (like an horizontal slice in my image), and if i want to go back i use 'history command' that gives me a dataframe wich is like the data-panel but limited to the SIDData that i have request in the history command. (like a vertical slice in my image)
Thank you