Versions in this module Expand all Collapse all v1 v1.1.3 Jan 15, 2020 v1.0.4 Aug 27, 2019 Changes in this version + type Gdax struct + func New(client *http.Client, accesskey, secretkey string) *Gdax + func (g *Gdax) CancelOrder(orderId string, currency CurrencyPair) (bool, error) + func (g *Gdax) Get24HStats(pair CurrencyPair) (*Ticker, error) + func (g *Gdax) GetAccount() (*Account, error) + func (g *Gdax) GetDepth(size int, currency CurrencyPair) (*Depth, error) + func (g *Gdax) GetExchangeName() string + func (g *Gdax) GetKlineRecords(currency CurrencyPair, period, size, since int) ([]Kline, error) + func (g *Gdax) GetOneOrder(orderId string, currency CurrencyPair) (*Order, error) + func (g *Gdax) GetOrderHistorys(currency CurrencyPair, currentPage, pageSize int) ([]Order, error) + func (g *Gdax) GetTicker(currency CurrencyPair) (*Ticker, error) + func (g *Gdax) GetTrades(currencyPair CurrencyPair, since int64) ([]Trade, error) + func (g *Gdax) GetUnfinishOrders(currency CurrencyPair) ([]Order, error) + func (g *Gdax) LimitBuy(amount, price string, currency CurrencyPair) (*Order, error) + func (g *Gdax) LimitSell(amount, price string, currency CurrencyPair) (*Order, error) + func (g *Gdax) MarketBuy(amount, price string, currency CurrencyPair) (*Order, error) + func (g *Gdax) MarketSell(amount, price string, currency CurrencyPair) (*Order, error)