Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
history for certain dates for machine learning

Is there a way to specify a certain date range in the history function (or using a customfactor in pipeline?) if we wanted to perhaps train a machine learning algorithm off past data? A lot of the algorithms posted update model based on last x days behavior, but I think it would useful for the model to have a least some knowledge of previous market conditions as part of creating its model.