Documentation ¶
Index ¶
- func BiboxFile(filename string) []model.Transaction
- func BinanceFile(filename string) []model.Transaction
- func BitfinexFile(filename string) []model.Transaction
- func BitmexFile(filename string) []model.Transaction
- func BitpandaFile(filename string) []model.Transaction
- func BittrexFile(filename string) []model.Transaction
- func BtcMarketsFile(filename string) []model.Transaction
- func CoinexchangeFile(filename string) []model.Transaction
- func CoinspotFile(filename string) []model.Transaction
- func CointrackingFile(filename string) []model.Transaction
- func CossFile(filename string) []model.Transaction
- func CryptopiaFile(filename string) []model.Transaction
- func CustomFile(filename string) []model.Transaction
- func EtherDeltaFile(filename string) []model.Transaction
- func HitbtcFile(filename string) []model.Transaction
- func IndependantReserveFile(filename string) []model.Transaction
- func KrakenFile(filename string) []model.Transaction
- func KuCoinFile(filename string) []model.Transaction
- func MercatoxFile(filename string) []model.Transaction
- func PoloniexFile(filename string) []model.Transaction
- func TempKuCoinFile(filename string) []model.Transaction
- type Bibox
- type BiboxLine
- type Binance
- type Bitfinex
- type Bitmex
- type Bitpanda
- type Bittrex
- type Btcmarket
- type BtcmarketsLine
- type Coinexchange
- type Coinspot
- type Cointracking
- type Coss
- type Cryptopia
- type Custom
- type EtherDelta
- type Hitbtc
- type IndependantReserve
- type Kraken
- type KuCoin
- type Mercatox
- type Poloniex
- type Processor
- type TempKuCoin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BiboxFile ¶
func BiboxFile(filename string) []model.Transaction
func BinanceFile ¶
func BinanceFile(filename string) []model.Transaction
func BitfinexFile ¶
func BitfinexFile(filename string) []model.Transaction
func BitmexFile ¶
func BitmexFile(filename string) []model.Transaction
func BitpandaFile ¶
func BitpandaFile(filename string) []model.Transaction
func BittrexFile ¶
func BittrexFile(filename string) []model.Transaction
func BtcMarketsFile ¶
func BtcMarketsFile(filename string) []model.Transaction
func CoinexchangeFile ¶
func CoinexchangeFile(filename string) []model.Transaction
func CoinspotFile ¶
func CoinspotFile(filename string) []model.Transaction
func CointrackingFile ¶
func CointrackingFile(filename string) []model.Transaction
func CossFile ¶
func CossFile(filename string) []model.Transaction
func CryptopiaFile ¶
func CryptopiaFile(filename string) []model.Transaction
func CustomFile ¶
func CustomFile(filename string) []model.Transaction
func EtherDeltaFile ¶
func EtherDeltaFile(filename string) []model.Transaction
func HitbtcFile ¶
func HitbtcFile(filename string) []model.Transaction
func IndependantReserveFile ¶
func IndependantReserveFile(filename string) []model.Transaction
func KrakenFile ¶
func KrakenFile(filename string) []model.Transaction
func KuCoinFile ¶
func KuCoinFile(filename string) []model.Transaction
func MercatoxFile ¶
func MercatoxFile(filename string) []model.Transaction
func PoloniexFile ¶
func PoloniexFile(filename string) []model.Transaction
func TempKuCoinFile ¶
func TempKuCoinFile(filename string) []model.Transaction
Types ¶
type Bibox ¶
type Bibox struct { RawTransactions []BiboxLine Txns map[string]model.Transaction }
func (*Bibox) ProcessData ¶
func (mdl *Bibox) ProcessData() []model.Transaction
type Binance ¶
type Binance struct { Date string `xlsx:"0"` Market string `xlsx:"1"` BuySell string `xlsx:"2"` Price float64 `xlsx:"3"` Amount float64 `xlsx:"4"` Total float64 `xlsx:"5"` Fee float64 `xlsx:"6"` Feecur string `xlsx:"7"` }
func (*Binance) ProcessData ¶
func (txn *Binance) ProcessData() (out model.Transaction)
type Bitfinex ¶
type Bitfinex struct { TransactionID string Pair string Amount float64 Price float64 Fee float64 FeeCurrency string Timestamp string OrderID string }
func (*Bitfinex) ProcessData ¶
func (txn *Bitfinex) ProcessData() (out model.Transaction)
type Bitmex ¶
type Bitmex struct { Timestamp string Symbol string ExecType string Side string LastQty float64 LastPx float64 ExecCost float64 Commission float64 ExecComm float64 OrdType string OrdQty float64 LeavesQty float64 Price float64 Text string OrderID string }
func (*Bitmex) ProcessData ¶
func (txn *Bitmex) ProcessData() (out model.Transaction)
type Bitpanda ¶
type Bitpanda struct { TransactionID string Type string Category string AmountFiat float64 Fee float64 FiatCurrency string AmountCrypto float64 CryptoCoin string Status string Timestamp string }
func (*Bitpanda) ProcessData ¶
func (txn *Bitpanda) ProcessData() (out model.Transaction)
type Bittrex ¶
type Bittrex struct { OrderUuid string Exchange string Type string Quantity float64 Limit float64 CommissionPaid float64 Price float64 Opened string Timestamp string }
func (*Bittrex) ProcessData ¶
func (txn *Bittrex) ProcessData() (out model.Transaction)
type Btcmarket ¶
type Btcmarket struct { RawTransactions []BtcmarketsLine Txns map[string]model.Transaction }
func NewBtcmarket ¶
func NewBtcmarket(in []BtcmarketsLine) (*Btcmarket, error)
func (*Btcmarket) ProcessData ¶
func (mdl *Btcmarket) ProcessData() []model.Transaction
type BtcmarketsLine ¶
type Coinexchange ¶
type Coinexchange struct { TradeID string Type string Related_order string Market string Time string Price float64 Amount float64 Total float64 Fee float64 Net_total float64 }
func (*Coinexchange) ProcessData ¶
func (txn *Coinexchange) ProcessData() (out model.Transaction)
type Coinspot ¶
type Coinspot struct { Timestamp string Type string Market string Amount float64 RateIncFee float64 RateExclFee float64 Fee string FeeAUDInclGST float64 GSTAud float64 TotalAud float64 TotalAudInclGST string }
func (*Coinspot) ProcessData ¶
func (txn *Coinspot) ProcessData() (out model.Transaction)
type Cointracking ¶
type Cointracking struct { Type string BuyAmount float64 BuyCurrency string SellAmount float64 SellCurrency string Fee float64 FeeCurrency string Exchange string Group string Comment string Timestamp string }
func (*Cointracking) ProcessData ¶
func (txn *Cointracking) ProcessData() (out model.Transaction)
type Coss ¶
type Coss struct { Date string Market string BuySell string Amount float64 Price float64 Total float64 Fee float64 }
func (*Coss) ProcessData ¶
func (txn *Coss) ProcessData() (out model.Transaction)
type Cryptopia ¶
type Cryptopia struct { Reference string Market string Type string Rate float64 Amount float64 Total float64 Fee float64 Timestamp string }
func (*Cryptopia) ProcessData ¶
func (txn *Cryptopia) ProcessData() (out model.Transaction)
type Custom ¶
type Custom struct { Timestamp string BasePrice float64 BaseCoin string QuotePrice float64 QuoteCoin string Exchange string }
func (*Custom) ProcessData ¶
func (txn *Custom) ProcessData() (out model.Transaction)
type EtherDelta ¶
type EtherDelta struct { Date string Action string Source string Volume float64 Symbol string Price float64 Currency string Fee float64 FeeCurrency string Memo string }
func (*EtherDelta) ProcessData ¶
func (txn *EtherDelta) ProcessData() (out model.Transaction)
type Hitbtc ¶
type Hitbtc struct { Date string Instrument string TradeID string OrderID string Side string Quantity float64 Price float64 Volume float64 Fee float64 Rebate float64 Total float64 }
func (*Hitbtc) ProcessData ¶
func (txn *Hitbtc) ProcessData() (out model.Transaction)
type IndependantReserve ¶
type IndependantReserve struct { SettledDateTimestamp string Timestamp string OrderGUID string OrderType string Status string OpenClosed string PrimaryCurrency string Volume float64 Outstanding float64 SecondaryCurrency string Price float64 AveragePrice float64 Value float64 Brokerage float64 BrokerageFee string GST float64 TotalCost float64 }
func (*IndependantReserve) ProcessData ¶
func (txn *IndependantReserve) ProcessData() (out model.Transaction)
type Kraken ¶
type Kraken struct { Txid string OrderTxid string Pair string Timestamp string Type string Ordertype string Price float64 Cost float64 Fee float64 Volume float64 }
func (*Kraken) ProcessData ¶
func (txn *Kraken) ProcessData() (out model.Transaction)
type KuCoin ¶
type KuCoin struct { Timestamp string Market string Type string FilledPrice float64 FilledPriceCoin string Amount float64 AmountPriceCoin string Volume float64 VolumeCoin string Fee float64 FeeCoin string }
func (*KuCoin) ProcessData ¶
func (txn *KuCoin) ProcessData() (out model.Transaction)
type Mercatox ¶
type Mercatox struct { MXTransactionID string NTTransactionID string WithdrawAddr string Type string Currency string Pair string Fee string Amount float64 Price float64 Total float64 Action string From string To string Time string }
func (*Mercatox) ProcessData ¶
func (txn *Mercatox) ProcessData() (out model.Transaction)
type Poloniex ¶
type Poloniex struct { Timestamp string Market string Category string Type string Price float64 Amount float64 Total float64 Fee string OrderNumber string BaseTotalLessFee float64 QuoteTotalLessFee float64 }
func (*Poloniex) ProcessData ¶
func (txn *Poloniex) ProcessData() (out model.Transaction)
type TempKuCoin ¶
type TempKuCoin struct { Market string DealPrice float64 DealValue float64 Amount float64 Fee float64 Type string Timestamp string }
func (*TempKuCoin) ProcessData ¶
func (txn *TempKuCoin) ProcessData() (out model.Transaction)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.