As a novice pythonite, I wonder how to code this: Compare first half hour volume today with the first half hour 10-day average volume. Buy, if today's volume is greater.
As a novice pythonite, I wonder how to code this: Compare first half hour volume today with the first half hour 10-day average volume. Buy, if today's volume is greater.
@Easan K., I don't think this works -- mainly due to the apparent inconsistency of the retrieval of exactly the correct number of periods and the pandas resampling into the correct and accurately timestamped buckets. But, it's a place to start. I might try to manually extract the 1/2 hour buckets of volume by examining the timestamps... What a chore though. Without doing that however, I just wouldn't trust python/pandas to reliably return the right volume bars.