Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Pipeline : Use different input data other than USEquityPricing

I'm trying to use Zipline API in my local environment.

I have successfully ingested my custom csv data and the backtesting works fine without using the Pipeline API.

However, I am lost on how I should make use of built in factors when using the Pipeline API.

To be more specific, I'd like to change the input variable in the following example.

   sma_10 = SimpleMovingAverage(inputs=[USEquityPricing.close], window_length=10)  
   sma_30 = SimpleMovingAverage(inputs=[USEquityPricing.close], window_length=30)

That is, instead of using USEquityPricing.close, I'd like to use MY_CSV_BUNDLE.close. Is that possible, and if so, how should I implement it?

Thanks in advance

1 response

hey could you solve it? similar issue over here.

I just wan to loop througth the Q500us stocks for faster iterarions