Calculate the volume average of a specific stock in pipeline

Hi,

I've been trying to calculate the average volume of a stock in a pipeline but can't figure out how.

All I could find is data.history but it doesn't work in a pipeline.

I looked at the forum but didn't find anything that work in my case.

Any help would be greatly appreciated.

Thanks!
Matt

0
SimpleMovingAverage(inputs=[USEquityPricing.volume], window_length=200)