Calculate gross returns from prices.
g_ret(x)
x
data object containing ordered price observations
An object of the same class as x with the gross returns