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 Aacoin struct + func New(client *http.Client, api_key, secret_key string) *Aacoin + func (aa *Aacoin) CancelOrder(orderId string, currencyPair CurrencyPair) (bool, error) + func (aa *Aacoin) CancelOrders(orderId []string) (bool, error) + func (aa *Aacoin) GetAccount() (*Account, error) + func (aa *Aacoin) GetDepth(size int, currencyPair CurrencyPair) (*Depth, error) + func (aa *Aacoin) GetExchangeName() string + func (aa *Aacoin) GetKlineRecords(currency CurrencyPair, period, size, since int) ([]Kline, error) + func (aa *Aacoin) GetOneOrder(orderId string, currencyPair CurrencyPair) (*Order, error) + func (aa *Aacoin) GetOrderHistorys(currencyPair CurrencyPair, currentPage, pageSize int) ([]Order, error) + func (aa *Aacoin) GetTicker(currencyPair CurrencyPair) (*Ticker, error) + func (aa *Aacoin) GetTrades(currencyPair CurrencyPair, since int64) ([]Trade, error) + func (aa *Aacoin) GetUnfinishOrders(currencyPair CurrencyPair) ([]Order, error) + func (aa *Aacoin) LimitBuy(amount, price string, currencyPair CurrencyPair) (*Order, error) + func (aa *Aacoin) LimitSell(amount, price string, currencyPair CurrencyPair) (*Order, error) + func (aa *Aacoin) MarketBuy(amount, price string, currencyPair CurrencyPair) (*Order, error) + func (aa *Aacoin) MarketSell(amount, price string, currencyPair CurrencyPair) (*Order, error)