Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CsvTXTrade ¶
type CsvTXTrade struct { ID string CreatedAt time.Time Buyer string Seller string TradeType string Amount decimal.Decimal Traded decimal.Decimal FeeBTC decimal.Decimal AmountLessFee decimal.Decimal Final decimal.Decimal FiatAmount decimal.Decimal FiatFee decimal.Decimal FiatPerBTC decimal.Decimal FiatCurrency string ExchangeRate decimal.Decimal TransactionReleasedAt time.Time OnlineProvider string Reference string }
type CsvTXTransfer ¶
type LocalBitcoin ¶
type LocalBitcoin struct { CsvTXsTrade []CsvTXTrade CsvTXsTransfer []CsvTXTransfer TXsByCategory wallet.TXsByCategory Sources source.Sources }
func New ¶
func New() *LocalBitcoin
func (*LocalBitcoin) ParseTradeCSV ¶
func (lb *LocalBitcoin) ParseTradeCSV(reader io.Reader, account string) (err error)
func (*LocalBitcoin) ParseTransferCSV ¶
func (lb *LocalBitcoin) ParseTransferCSV(reader io.Reader, account string) (err error)
Click to show internal directories.
Click to hide internal directories.