Geometric Annual Return in SQL
Here is some quick-and-dirty SQL to calculate an geometric annual return (as a percent) from a column of monthly returns (in percents).
|
|
Update 2008-01-30 10:52PM: Here’s the equivalent “one-liner”:
|
|
Here is some quick-and-dirty SQL to calculate an geometric annual return (as a percent) from a column of monthly returns (in percents).
|
|
Update 2008-01-30 10:52PM: Here’s the equivalent “one-liner”:
|
|