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 + const API_BASE_URL + const CANCELWITHDRAW_API + const CANCEL_ORDER_API + const DEPTH_API + const EXX + const GET_ACCOUNT_API + const GET_ORDER_API + const GET_UNFINISHED_ORDERS_API + const MARKET_URL + const PLACE_ORDER_API + const TICKER_API + const TRADE_URL + const WITHDRAW_API + type Exx struct + func New(httpClient *http.Client, accessKey, secretKey string) *Exx + func (exx *Exx) CancelOrder(orderId string, currency CurrencyPair) (bool, error) + func (exx *Exx) CancelWithdraw(id string, currency Currency, safePwd string) (bool, error) + func (exx *Exx) GetAccount() (*Account, error) + func (exx *Exx) GetDepth(size int, currency CurrencyPair) (*Depth, error) + func (exx *Exx) GetExchangeName() string + func (exx *Exx) GetKlineRecords(currency CurrencyPair, period, size, since int) ([]Kline, error) + func (exx *Exx) GetOneOrder(orderId string, currency CurrencyPair) (*Order, error) + func (exx *Exx) GetOrderHistorys(currency CurrencyPair, currentPage, pageSize int) ([]Order, error) + func (exx *Exx) GetTicker(currency CurrencyPair) (*Ticker, error) + func (exx *Exx) GetTrades(currencyPair CurrencyPair, since int64) ([]Trade, error) + func (exx *Exx) GetUnfinishOrders(currency CurrencyPair) ([]Order, error) + func (exx *Exx) LimitBuy(amount, price string, currency CurrencyPair) (*Order, error) + func (exx *Exx) LimitSell(amount, price string, currency CurrencyPair) (*Order, error) + func (exx *Exx) MarketBuy(amount, price string, currency CurrencyPair) (*Order, error) + func (exx *Exx) MarketSell(amount, price string, currency CurrencyPair) (*Order, error) + func (exx *Exx) Withdraw(amount string, currency Currency, fees, receiveAddr, safePwd string) (string, error)