Documentation ¶
Index ¶
- func CalculateInterestPaidSchedule(principal, monthlyPayment, interestRatePercentage float64) []float64
- func CalculateMortgageMonthlyPayment(principal, interestRate float64, duration int) float64
- type Alphavantage
- type AlphavantageSymbol
- type Loader
- func NewAverageExpenditureLoader(fw framework.FW) Loader
- func NewCSVLoader(fw framework.FW) Loader
- func NewCarLoader(fw framework.FW) Loader
- func NewHouseAssetLoader(fw framework.FW) Loader
- func NewInvestmentsLoader(fw framework.FW) Loader
- func NewMortgageLoader(fw framework.FW) Loader
- func NewSharedExpenseLoader(fw framework.FW) Loader
- func NewStocksLoader(fw framework.FW, alphavantage Alphavantage) Loader
- func NewTransactionLoader(fw framework.FW) Loader
- type OHLC
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateInterestPaidSchedule ¶
func CalculateInterestPaidSchedule(principal, monthlyPayment, interestRatePercentage float64) []float64
Public only because used in test
func CalculateMortgageMonthlyPayment ¶
Public only because used in test
Types ¶
type Alphavantage ¶
type Alphavantage interface { GetSymbolFromAlphavantage(symbol string) (*AlphavantageSymbol, error) GetCurrencyHistory(from string, to string, isCompact bool) (map[string]OHLC, error) GetStockHistory(symbol string, isCompact bool) (map[string]OHLC, error) }
func NewAlphavantage ¶
func NewAlphavantage(apiKey string) Alphavantage
type AlphavantageSymbol ¶
type Loader ¶
func NewCSVLoader ¶
func NewCarLoader ¶
func NewHouseAssetLoader ¶
func NewInvestmentsLoader ¶
func NewMortgageLoader ¶
func NewSharedExpenseLoader ¶
func NewStocksLoader ¶
func NewStocksLoader(fw framework.FW, alphavantage Alphavantage) Loader
func NewTransactionLoader ¶
Click to show internal directories.
Click to hide internal directories.