TrendBreakerPL_PSO_backtrader
TrendBreakerPL_PSO_backtrader copied to clipboard
AttributeError: 'numpy.int64' object has no attribute 'to_pydatetime'
Got the following error when running main.py
Launched the iteration with [3.54797493e+01 3.03116053e+01 3.33437532e-02 7.52396842e-01]
Starting Portfolio Value: 1000.00
Final Portfolio Value: 859.65
Performance:
Return: -14.035259200000086%
Stability:-0.40157739067589127
Top-5 Drawdowns:
Traceback (most recent call last):
File "main.py", line 44, in