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

Hello !
I am beginner on Quantopian
I try to understand the Pipeline utility
I was reading the course and we built a Pipeline but when we run it we use the run_pipeline function from quantopian_research, so can't we use Pipeline in the IDE Please ?
Thank you !

1 response

When in the IDE use the pipeline_output method and not run_pipeline. The difference is that pipeline_output returns a dataframe with data for a single day (ie the current backtest day), while run_pipeline is used in notebooks to return the pipeline output for a number of days.

Make sure you import the method before using it

import quantopian.algorithm as algo  
...
context.output = algo.pipeline_output('pipeline')