Documentation
¶
Index ¶
- type ErrorResp
- type GetAccountTransactionsResp
- type GetTradesResp
- type HitBTC
- func (hb *HitBTC) GetAPIAllTXs()
- func (hb *HitBTC) MergeTXs()
- func (hb *HitBTC) NewAPI(apiKey, secretKey string, debug bool)
- func (hb *HitBTC) ParseCSVTrades(reader io.Reader) (err error)
- func (hb *HitBTC) ParseCSVTransactions(reader io.Reader) (err error)
- func (hb *HitBTC) WaitFinish(account string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetAccountTransactionsResp ¶
type GetAccountTransactionsResp []struct { ID string `json:"id"` Index int64 `json:"index"` Type string `json:"type"` Subtype string `json:"subType,omitempty"` Status string `json:"status"` Currency string `json:"currency"` Amount string `json:"amount"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Fee string `json:"fee,omitempty"` Hash string `json:"hash,omitempty"` Address string `json:"address,omitempty"` Confirmations int64 `json:"confirmations,omitempty"` }
type GetTradesResp ¶
type GetTradesResp []struct { ID int `json:"id"` OrderID int `json:"orderId"` ClientOrderID string `json:"clientOrderId"` Symbol string `json:"symbol"` Side string `json:"side"` Quantity string `json:"quantity"` Price string `json:"price"` Fee string `json:"fee"` Timestamp time.Time `json:"timestamp"` }
type HitBTC ¶
type HitBTC struct { TXsByCategory wallet.TXsByCategory Sources source.Sources // contains filtered or unexported fields }
func (*HitBTC) GetAPIAllTXs ¶
func (hb *HitBTC) GetAPIAllTXs()
func (*HitBTC) ParseCSVTransactions ¶
func (*HitBTC) WaitFinish ¶
Click to show internal directories.
Click to hide internal directories.