Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
How do I solve an AttributeError: 'function' object has no attribute 'to_execution_plan'

Hi Everyone!

I'm new to Quantopian and trying to do simple pipeline that chooses ETFs for me. I'm getting this error and can't figure out how to solve it.

Second, is there an easier way of choosing ETFs in the pipeline?

1 response

Check whether "myPipeline" variable is appropriate.
It is possible that you missed the parentheses.
eg:

def make_pipeline():  
    return Pipeline()  
myPipeline = make_pipeline()