Versions in this module Expand all Collapse all v1 v1.0.0 Apr 27, 2022 v0 v0.1.0 Apr 27, 2022 Changes in this version + const APIBASE + const APIVERSION + const AUTHEXPIRED + const HEARTBEAT + const ORDER + const ORDERBOOK + const TICKER + const TIMEFORMAT + const TRADE + const WSBASE + const WSHUB + var CANDLEINTERVALS = map[string]bool + type Address struct + Address string + Currency string + type Balance struct + Available decimal.Decimal + CurrencySymbol string + Total decimal.Decimal + UpdatedAt *jTime + type BalanceD struct + BalanceD decimal.Decimal + type Bittrex struct + func New(apiKey, apiSecret string) *Bittrex + func NewWithCustomHTTPClient(apiKey, apiSecret string, httpClient *http.Client) *Bittrex + func NewWithCustomTimeout(apiKey, apiSecret string, timeout time.Duration) *Bittrex + func (b *Bittrex) Authentication(c *signalr.Client) error + func (b *Bittrex) CancelOrder(orderID string) (respone []byte, err error) + func (b *Bittrex) GetBalances() (balances []Balance, err error) + func (b *Bittrex) GetMarkets() (markets []Market, err error) + func (b *Bittrex) GetOpenOrders(market string) (openOrders []Order, err error) + func (b *Bittrex) GetOrder(orderUUID string) (order Order, err error) + func (b *Bittrex) GetOrderBook(book *OrderBook) (err error) + func (b *Bittrex) GetOrderHistory(market string) (orders []Order, err error) + func (b *Bittrex) GetTicker(market string) (ticker Ticker, err error) + func (b *Bittrex) NewOrder(order NewOrder) (response []byte, err error) + func (b *Bittrex) SetDebug(enable bool) + func (b *Bittrex) SubscribeOrderUpdates(dataCh chan<- OrderUpdate) error + func (b *Bittrex) SubscribeOrderbookUpdates(market string, orderbook chan<- OrderBook, stop chan bool) error + func (b *Bittrex) SubscribeTickerUpdates(market string, quotes chan<- Quote) error + type Client struct + func NewClient(apiKey, apiSecret string) (c *Client) + func NewClientWithCustomHTTPConfig(apiKey, apiSecret string, httpClient *http.Client) (c *Client) + func NewClientWithCustomTimeout(apiKey, apiSecret string, timeout time.Duration) (c *Client) + type Currency struct + BaseAddress string + CoinType string + Currency string + CurrencyLong string + IsActive bool + MinConfirmation int + Notice string + TxFee decimal.Decimal + type Deposit struct + Amount decimal.Decimal + Confirmations int + CryptoAddress string + Currency string + ID int64 + LastUpdated jTime + TxID string + type Distribution struct + AverageBalance decimal.Decimal + Balances decimal.Decimal + Distribution []BalanceD + type Market struct + BaseCurrencySymbol string + CreatedAt jTime + MinTradeSize decimal.Decimal + Notice string + Precision int + ProhibitedIn []string + QuoteCurrencySymbol string + Status string + Symbol string + type MarketSummary struct + Ask decimal.Decimal + BaseVolume decimal.Decimal + Bid decimal.Decimal + High decimal.Decimal + Last decimal.Decimal + Low decimal.Decimal + MarketName string + OpenBuyOrders int + OpenSellOrders int + PrevDay decimal.Decimal + TimeStamp string + Volume decimal.Decimal + type NewOrder struct + Ceiling string + ClientOrderID string + Direction string + Limit string + MarketSymbol string + Quantity string + TimeInForce string + Type string + UseAwards bool + type Order struct + Ceiling decimal.Decimal + ClientOrderID string + ClosedAt *jTime + Commission decimal.Decimal + CreatedAt jTime + Direction string + FillQuantity decimal.Decimal + ID string + Limit decimal.Decimal + MarketSymbol string + OrderToCancel struct{ ... } + Proceeds decimal.Decimal + Quantity decimal.Decimal + Status string + TimeInForce string + Type string + UpdatedAt *jTime + type OrderBook struct + AskDeltas []OrderDelta + BidDeltas []OrderDelta + Depth int + MarketSymbol string + Sequence int + type OrderBook2 struct + AskDeltas []OrderDelta + BidDeltas []OrderDelta + type OrderDelta struct + Quantity decimal.Decimal + Rate decimal.Decimal + type OrderUpdate struct + AccountID string + Delta struct{ ... } + Sequence int + type Quote struct + Ask decimal.Decimal + Bid decimal.Decimal + Last decimal.Decimal + Symbol string + Volume decimal.Decimal + type Responce struct + ErrorCode interface{} + Success bool + type Ticker struct + AskRate decimal.Decimal + BidRate decimal.Decimal + LastTradeRate decimal.Decimal + Symbol string + type Trade struct + FillType string + OrderType string + OrderUUID int64 + Price decimal.Decimal + Quantity decimal.Decimal + Timestamp jTime + Total decimal.Decimal + type TradeUpdate struct + Deltas []struct{ ... } + MarketSymbol string + Sequence int