Documentation ¶ Index ¶ func ReplaceAssets(assetToReplace string) string type Coinbase func New() *Coinbase func (cb *Coinbase) ParseCSV(reader io.ReadSeeker, cat category.Category, account string) (err error) type CsvTX Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ReplaceAssets ¶ added in v1.3.0 func ReplaceAssets(assetToReplace string) string Types ¶ type Coinbase ¶ type Coinbase struct { CsvTXs []CsvTX TXsByCategory wallet.TXsByCategory Sources source.Sources } func New ¶ func New() *Coinbase func (*Coinbase) ParseCSV ¶ func (cb *Coinbase) ParseCSV(reader io.ReadSeeker, cat category.Category, account string) (err error) type CsvTX ¶ type CsvTX struct { Timestamp time.Time ID string Type string Asset string Quantity decimal.Decimal SpotPrice decimal.Decimal Subtotal decimal.Decimal Total decimal.Decimal Fees decimal.Decimal Notes string } Source Files ¶ View all Source files coinbase.go csv.go Click to show internal directories. Click to hide internal directories.