cvxportfolio
cvxportfolio copied to clipboard
How are returns computed?
In docs you state that the returns are computed as change between the next day and current day, i.e. r_t = p_{t+1} / p_{t} - 1 but in the examples you use Panda's pct_change()
which is the difference between current and previous day. I assume just doing pct_change()
on prices is the correct way?
Thanks