A lot of my trading ideas revolve around the concept of time. Quantopian, at least from what i can tell, only gives you a picture of the market at the minute in which the loop is run. Is there a way to reference/store prices from a day ago? two days ago?
To demonstrate a bit what i mean: you can write a code that will trade based on the crossing of moving averages but if a person would trade on this strategy he would look at the positions of the moving averages before they crossed to know if the crossing is a buy or sell signal. From what i can tell there really isnt a way to store values let's say in a list and retrieve them at a later time to compare data from two different dates.
Can anyone help with that?
Hope my explanation was understandable.
All the best,
Daniel