The documentation says
computation of returns (if use_log then logarithmic else simple) - the first timestep is automatically deleted
How does this function know which column is the closing price and therefore which column to use to calculate returns
The documentation says
How does this function know which column is the closing price and therefore which column to use to calculate returns