package
Version:
v1.0.4
Opens a new window with list of versions in this module.
Published: Aug 19, 2019
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
type 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)
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) 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)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.