Documentation
¶
Index ¶
- func APR(db *gorm.DB, ps []posting.Posting) float64
- func ClearInterestCache()
- func ClearPriceCache()
- func GetAllPrices(db *gorm.DB, commodity string) []price.Price
- func GetMarketPrice(db *gorm.DB, p posting.Posting, date time.Time) float64
- func GetUnitPrice(db *gorm.DB, commodity string, date time.Time) price.Price
- func IsInterest(db *gorm.DB, p posting.Posting) bool
- func PopulateMarketPrice(db *gorm.DB, ps []posting.Posting) []posting.Posting
- func XIRR(db *gorm.DB, ps []posting.Posting) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearInterestCache ¶ added in v0.2.8
func ClearInterestCache()
func ClearPriceCache ¶ added in v0.2.8
func ClearPriceCache()
func GetUnitPrice ¶ added in v0.2.2
func PopulateMarketPrice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.