Documentation ¶
Index ¶
- 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 KlinePeriod, size int, opt ...OptionalParameter) ([]Kline, error)
- func (g *Gdax) GetOneOrder(orderId string, currency CurrencyPair) (*Order, error)
- func (g *Gdax) GetOrderHistorys(currency CurrencyPair, optional ...OptionalParameter) ([]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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gdax ¶
type Gdax struct {
// contains filtered or unexported fields
}
func (*Gdax) CancelOrder ¶
func (*Gdax) Get24HStats ¶
func (*Gdax) GetAccount ¶
func (*Gdax) GetExchangeName ¶
func (*Gdax) GetKlineRecords ¶
func (*Gdax) GetOneOrder ¶
func (*Gdax) GetOrderHistorys ¶
func (*Gdax) GetUnfinishOrders ¶
func (*Gdax) MarketSell ¶
Click to show internal directories.
Click to hide internal directories.