Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Roll futures based on Volume

Has anybody written a code on how to roll futures open positions on the day that the highest volume switches to the next active contract.