You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above change will make the PnL into a long short excess return for the portfolio. However, the backtest() function doesn't yield correct graph though.
The text was updated successfully, but these errors were encountered:
Weight supplied that adds to 0 will yield error due to
A workaround that I have used is to change the above to:
The above change will make the PnL into a long short excess return for the portfolio. However, the
backtest()
function doesn't yield correct graph though.The text was updated successfully, but these errors were encountered: