Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coinlot ¶
type Form8949 ¶
type Form8949 struct { LongHolds []Form8949LineItem ShortHolds []Form8949LineItem }
type Form8949LineItem ¶
type Form8949LineItem struct { Currency string Description string DateAcquired time.Time DateSold time.Time Proceeds string CostBasis string AdjustmentCode string AdjustmentAmount string GainOrLoss string }
func (*Form8949LineItem) Record ¶
func (item *Form8949LineItem) Record() []string
type Report ¶
type Report struct { Transactions []common.Transaction Deposits []common.Transaction Withdrawals []common.Transaction Trades []common.Transaction Income []common.Transaction Spends []common.Transaction // contains filtered or unexported fields }
func NewFifoReport ¶
func NewFifoReport(ctx common.Context, transactions []common.Transaction) *Report
Click to show internal directories.
Click to hide internal directories.