Total newb here...I want to pull the minimum volume over the past 10 days to use in the pipeline:
class minvol(CustomFactor):
#minimum volume over 10 days
inputs = [USEquityPricing.volume]
window_length = 10
def compute(self, today, assets, out, volume):
out[:] = np.minimum(volume, axis=0)
ValueError: invalid number of arguments
USER ALGORITHM:377, in compute
out[:] = np.minimum(volume, axis=0)