Trying to add an extra column in the data set to calculate daily percentage returns of each asset

0

My data set looks like this:

symbol  date    adjusted
BAC 2000-01-03  13.61120
BAC 2000-01-04  12.80331
BAC 2000-01-05  12.94381
BAC 2000-01-06  14.05027
BAC 2000-01-07  13.68145
BAC 2000-01-10  13.20725

Under symbol, there are three different stocks. I want to add a column with the daily returns on the asset, but I am stuck on what to do.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.