Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoConfigValue = errors.New("no config value")
View Source
var ErrNoKnownTradeType = errors.New("no known trade type")
Functions ¶
func SetIDForTransaction ¶
func SetIDForTransaction(tx *CointrackingTx) error
Types ¶
type CointrackingTx ¶
type CointrackingTx struct { Type *TxType `csv:"type"` BuyValue float64 `csv:"buy_value"` BuyCurrency string `csv:"buy_currency"` SellValue float64 `csv:"sell"` SellCurrency string `csv:"sell_currency"` FeeValue float64 `csv:"fee"` FeeCurrency string `csv:"fee_currency"` Exchange string `csv:"exchange"` Group string `csv:"group"` Comment string `csv:"comment"` DateTime *TxTimestamp `csv:"date"` ID string `csv:"-" hash:"-"` }
type Ct2BpTxMapping ¶
type Ct2BpTxMapping struct { Cointracking TxDisplayName `json:"cointracking"` Blockpit TxDisplayName `json:"blockpit"` }
type ExportFileInfo ¶
type TimezoneData ¶
type TxDisplayName ¶
type TxTimestamp ¶
func (*TxTimestamp) MarshalCSV ¶
func (ts *TxTimestamp) MarshalCSV() (string, error)
func (*TxTimestamp) UnmarshalCSV ¶
func (ts *TxTimestamp) UnmarshalCSV(csv string) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.