Documentation
¶
Overview ¶
Package ror calculates rates of return.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rate ¶
type Rate float64
Rate represents generic rate of something, e.g. rate of return.
func Dividend ¶
Dividend calculates the rate of return of dividends. It is equal to dividends paid for one unit of S&P Composite currency:
Dividend / SPComposite
func SPComposite ¶
SPComposite calculates S&P's rate of return:
SPComposite / SPComposite_prev_month
Click to show internal directories.
Click to hide internal directories.