Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
getting the weekly high of a stock

I'm trying to get the highest high from the last 5 days.
I don't get anything.
what am I doing wrong?
I don't get any numbers in my output
thanks for any help
Tzvi

3 responses

Thanks Grant,

now it's working great

Good. Be sure to have a look at the help page regarding history with '1d'. It reports an OHLCV bar up to the current minute of the current day, so you won't actually be getting the trailing 5 days.