I followed the link to the file that gives the error:
File c:\ProgramData\anaconda3\envs\py38class\lib\site-packages\zipline\utils\run_algo.py:397, in run_algorithm(start, end, initialize, capital_base, handle_data, before_trading_start, analyze, data_frequency, bundle, bundle_timestamp, trading_calendar, metrics_set, benchmark_returns, default_extension, extensions, strict_extensions, environ, custom_loader, blotter)
However, I can't see append anywhere in the function itself, so I guess the funciton is dependent on another function in a different package.
Does anyone know how I can fix this?
I tried to change the code in the source and basically changed the code of any .py file in the pacakge which has append in it but that didn't work either.
.append() has been removed in pandas 2.0, please adjust the code to use pd.concat instead docs. A simple word search in the referenced file surfaces two instances where .append() is used.
Unfortunately, when running this code:
` I get this error:
``
I followed the link to the file that gives the error: