Aug 10, 2024, 11:04 PM
create_returns_tear_sheet()
function from PyFolio seems to have executed without errors, although we need to verify if it produced the desired output.create_position_tear_sheet()
due to missing position data.create_position_tear_sheet()
due to missing position dataKeyError: "None of [DatetimeIndex(...)] are in the [index]"
pf.timeseries.perf_stats(returns_series)
, which corresponds to Table 1 in the Returns Tear Sheet.evaluate
function to calculate and return the total returnevaluate
function to calculate and return the total return instead of the Sharpe ratio.(1 + strategy_returns).prod() - 1