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.


Instead of a 5 day lookback

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