Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
First_try

Just volume/average(volume,20)