Open SamKimbinyi opened 2 years ago
Hey there! Thank you for your interest.
It is going to compute returns (percentage change) for all the indicators (e.g. open price, close price, volume) that are in the input DataFrame.
Hope that helps.
Thank you for the fast reply!
So if i wish to calculate portfolio returns, would you reccomend creating a dataframe that has the percentage returns from closing prices first?
AFAIK taking the closing prices is the most common approach - I don't really remember the rationale behind it though. However, it is really up to you:)
The documentation says
How does this function know which column is the closing price and therefore which column to use to calculate returns