Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Forward filling price history for Machine Learning

Is it possible to get future prices of stocks for the purposes of analyzing and labeling features for machine learning? What if you want to observe a price trend for 10 days after the current date, for instance, to determine if the feature should be labeled "buy"?

Are there any code samples out there that do this?

Thanks,
Marc