Versions in this module Expand all Collapse all v1 v1.0.2 Aug 20, 2019 Changes in this version + const DefaultRESTURL + type CWRESTClient struct + func NewCWRESTClient(params *CWRESTClientParams) *CWRESTClient + func (c *CWRESTClient) GetExchangeDescr(exchangeSymbol string) (*ExchangeDescr, error) + func (c *CWRESTClient) GetExchangeMarketsDescr(exchangeSymbol string) ([]MarketDescr, error) + func (c *CWRESTClient) GetExchangesIndex() ([]ExchangeDescrBrief, error) + func (c *CWRESTClient) GetMarketDescr(exchangeSymbol, pairSymbol string) (MarketDescr, error) + func (c *CWRESTClient) GetMarketSummaries() (map[string]common.SummaryUpdate, error) + func (c *CWRESTClient) GetMarketsIndex() ([]MarketDescr, error) + func (c *CWRESTClient) GetOHLC(exchangeSymbol, pairSymbol string) (map[common.Period][]common.Interval, error) + func (c *CWRESTClient) GetOrderBook(exchangeSymbol string, pairSymbol string) (common.OrderBookSnapshot, error) + func (c *CWRESTClient) GetPairDescr(symbol string) (PairDescr, error) + func (c *CWRESTClient) GetPairsIndex() ([]PairDescr, error) + type CWRESTClientParams struct + APIURL string + type ExchangeDescr struct + Active bool + ID int + Name string + Routes struct{ ... } + Symbol string + type ExchangeDescrBrief struct + Active bool + ID int + Name string + Route string + Symbol string + type MarketDescr struct + Active bool + Exchange string + ID int + Pair string + Route string + type PairDescr struct + Base PairSideDescr + ID int + Markets []MarketDescr + Quote PairSideDescr + Route string + Symbol string + type PairSideDescr struct + Fiat bool + ID int + Name string + Route string + Symbol string