Hey everyone, I’m trying to ingest some CSV data.
I have added these lines at the top of the extensions.py file:
import pandas as pd
from zipline.data.bundles import register
from zipline.data.bundles.csvdir import csvdir_equities
And I have added my function info:
And the error when I zipline ingest -b yf_indices
:
TypeError: register() got an unexpected keyword argument 'calendar_name'
I can’t seem to figure the problem. There’s something with @curry in the file declaring a register() function, but I don’t understand it, since we are also importing a function of that name.
I’ve tried commenting out the imports, but that does not work either.
Help is appreciated. Thanks!