package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Apr 24, 2022
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Aggregate struct {
Date time.Time `json:"date"`
Account string `json:"account"`
Amount float64 `json:"amount"`
MarketAmount float64 `json:"market_amount"`
}
type Breakdown struct {
Group string `json:"group"`
InvestmentAmount float64 `json:"investment_amount"`
WithdrawalAmount float64 `json:"withdrawal_amount"`
MarketAmount float64 `json:"market_amount"`
XIRR float64 `json:"xirr"`
}
type Gain struct {
Account string `json:"account"`
OverviewTimeline []Overview `json:"overview_timeline"`
XIRR float64 `json:"xirr"`
}
type Overview struct {
Date time.Time `json:"date"`
InvestmentAmount float64 `json:"investment_amount"`
WithdrawalAmount float64 `json:"withdrawal_amount"`
GainAmount float64 `json:"gain_amount"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.