Versions in this module Expand all Collapse all v0 v0.0.1 May 10, 2021 Changes in this version + type Asset struct + CanDeposit bool + CanWithdraw bool + Description string + MakerFee float64 + MaxWithdraw float64 + MinWithdraw float64 + Name string + TakerFee float64 + type Assets map[string]Asset + type Candle struct + Close float64 + High float64 + Low float64 + Open float64 + Time time.Time + type Candles []Candle + type CandlesRequest struct + EndTime int64 + Interval string + Limit int + StartTime int64 + Symbol string + type Client struct + BaseURL *url.URL + Client *http.Client + func NewClient(httpClient *http.Client) *Client + func (c *Client) GetAssets() (listOfAssets Assets, err error) + func (c *Client) GetCandles(cr CandlesRequest) (candles Candles, err error) + func (c *Client) GetOrderbook(obr OrderbookRequest) (ob Orderbook, err error) + func (c *Client) GetSummary() (md MarketData, err error) + func (c *Client) GetTicker() (t Ticker, err error) + func (c *Client) GetTrades(tr TradesRequest) (t Trades, err error) + type ErrorResponse struct + Code int + ErrorMsg string + Message string + Msg string + Path string + Response *http.Response + Status int + Timestamp int64 + func (r *ErrorResponse) Error() string + type MarketData struct + Data map[string]MarketProp + Message string + type MarketProp struct + BaseVolume string + High24Hr string + HighestBid string + ID int64 + IsFrozen string + Last string + Low24Hr string + LowestAsk string + PercentChange string + QuoteVolume string + type Orderbook struct + Asks [][]float64 + Bids [][]float64 + Timestamp int64 + type OrderbookRequest struct + Depth int + Level int + Symbol string + type PriceChange struct + BaseCurrency string + BaseVolume float64 + Description string + HighestBidPrice float64 + IsFrozen bool + LastPrice float64 + LowestAskPrice float64 + Past24HrsHighPrice float64 + Past24HrsLowPrice float64 + Past24HrsPriceChange float64 + QuoteCurrency string + QuoteVolume float64 + type Ticker map[string]PriceChange + type Trades []struct + type TradesRequest struct + Symbol string + Type string v0.0.1-beta May 9, 2021 v0.0.1-b May 9, 2021