Sorry for the very naive question but how is the DAILY return of a strategy calculated.
I know the return of an equity for each day can be calculated as (price-prev_price) /prev_price.
For strategy i dont know which value to use in the formula.
PS : I am trying to use pyfolio locally and need to feed it with daily return of strategy.