Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Pulling all history without specifying exact days?

Hello Everyone,

I'm wondering if there is a way to pull the entire history of a stock without having to specify an exact integer for look back period. Is there a way a wildcard of some sort can be entered instead. Unfortunately just using an excessively large number errors out if it exceeds the total number of entries.

IE.

Instead of a 5 day lookback
data.history(context.security_list,['open','high','low'],5,'1d')

using
data.history(context.security_list,['open','high','low'],(WILDCARD TO PULL EVERYTHING ON RECORD FOR A PARTICULAR SECURITY),'1d')