forked from quantopian/pyfolio
-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Description
Traceback (most recent call last):
File "C:\Users\16343\Desktop\vspro\quantify1\pyfolio_2.py", line 9, in
pf.create_returns_tear_sheet(returns)
File "C:\MyApp\miniconda3\envs\py10\lib\site-packages\pyfolio\plotting.py", line 52, in call_w_context
return func(*args, **kwargs)
File "C:\MyApp\miniconda3\envs\py10\lib\site-packages\pyfolio\tears.py", line 496, in create_returns_tear_sheet
plotting.show_perf_stats(returns, benchmark_rets,
File "C:\MyApp\miniconda3\envs\py10\lib\site-packages\pyfolio\plotting.py", line 595, in show_perf_stats
date_rows['Start date'] = returns.index[0].strftime('%Y-%m-%d')
AttributeError: 'int' object has no attribute 'strftime'
Metadata
Metadata
Assignees
Labels
No labels