Documentation
¶
Index ¶
- Constants
- type ItBit
- func (i *ItBit) CancelWalletOrder(walletID, orderID string)
- func (i *ItBit) CreateWallet(walletName string)
- func (i *ItBit) GetDepositAddress(walletID, currency string)
- func (e *ItBit) GetExchangeAccountInfo() (exchange.ExchangeAccountInfo, error)
- func (i *ItBit) GetFee(maker bool) float64
- func (i *ItBit) GetOrderbook(currency string) (ItBitOrderbookResponse, error)
- func (i *ItBit) GetOrderbookEx(p pair.CurrencyPair) (orderbook.OrderbookBase, error)
- func (i *ItBit) GetTicker(currency string) (ItBitTicker, error)
- func (i *ItBit) GetTickerPrice(p pair.CurrencyPair) (ticker.TickerPrice, error)
- func (i *ItBit) GetTradeHistory(currency, timestamp string) bool
- func (i *ItBit) GetWallet(walletID string)
- func (i *ItBit) GetWalletBalance(walletID, currency string)
- func (i *ItBit) GetWalletOrder(walletID, orderID string)
- func (i *ItBit) GetWalletOrders(walletID string, params url.Values)
- func (i *ItBit) GetWalletTrades(walletID string, params url.Values)
- func (i *ItBit) GetWallets(params url.Values)
- func (i *ItBit) PlaceWalletOrder(walletID, side, orderType, currency string, amount, price float64, ...)
- func (i *ItBit) PlaceWithdrawalRequest(walletID, currency, address string, amount float64)
- func (i *ItBit) Run()
- func (i *ItBit) SendAuthenticatedHTTPRequest(method string, path string, params map[string]interface{}) (err error)
- func (i *ItBit) SetDefaults()
- func (i *ItBit) Setup(exch config.ExchangeConfig)
- func (i *ItBit) Start()
- func (i *ItBit) WalletTransfer(walletID, sourceWallet, destWallet string, amount float64, currency string)
- type ItBitOrderbookResponse
- type ItBitTicker
Constants ¶
View Source
const ( ITBIT_API_URL = "https://api.itbit.com/v1" ITBIT_API_VERSION = "1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItBit ¶
type ItBit struct {
exchange.ExchangeBase
}
func (*ItBit) CancelWalletOrder ¶
func (*ItBit) CreateWallet ¶
func (*ItBit) GetDepositAddress ¶
func (*ItBit) GetExchangeAccountInfo ¶
TODO Get current holdings from ItBit GetExchangeAccountInfo : Retrieves balances for all enabled currencies for the ItBit exchange
func (*ItBit) GetOrderbook ¶
func (i *ItBit) GetOrderbook(currency string) (ItBitOrderbookResponse, error)
func (*ItBit) GetOrderbookEx ¶
func (i *ItBit) GetOrderbookEx(p pair.CurrencyPair) (orderbook.OrderbookBase, error)
func (*ItBit) GetTickerPrice ¶
func (i *ItBit) GetTickerPrice(p pair.CurrencyPair) (ticker.TickerPrice, error)
func (*ItBit) GetTradeHistory ¶
func (*ItBit) GetWalletBalance ¶
func (*ItBit) GetWalletOrder ¶
func (*ItBit) GetWallets ¶
func (*ItBit) PlaceWalletOrder ¶
func (*ItBit) PlaceWithdrawalRequest ¶
func (*ItBit) SendAuthenticatedHTTPRequest ¶
func (*ItBit) SetDefaults ¶
func (i *ItBit) SetDefaults()
func (*ItBit) Setup ¶
func (i *ItBit) Setup(exch config.ExchangeConfig)
type ItBitOrderbookResponse ¶
type ItBitTicker ¶
type ItBitTicker struct { Pair string Bid float64 `json:",string"` BidAmt float64 `json:",string"` Ask float64 `json:",string"` AskAmt float64 `json:",string"` LastPrice float64 `json:",string"` LastAmt float64 `json:",string"` Volume24h float64 `json:",string"` VolumeToday float64 `json:",string"` High24h float64 `json:",string"` Low24h float64 `json:",string"` HighToday float64 `json:",string"` LowToday float64 `json:",string"` OpenToday float64 `json:",string"` VwapToday float64 `json:",string"` Vwap24h float64 `json:",string"` ServertimeUTC string }
Click to show internal directories.
Click to hide internal directories.