Documentation
¶
Index ¶
- type Gdax
- func (g *Gdax) CancelOrder(orderId string, currency common.TradingPair) (bool, error)
- func (g *Gdax) Get24HStats(pair common.TradingPair) (*common.Ticker, error)
- func (g *Gdax) GetAccount() (*common.Account, error)
- func (g *Gdax) GetDepth(size int, currency common.TradingPair) (*common.Depth, error)
- func (g *Gdax) GetExchangeName() string
- func (g *Gdax) GetKlineRecords(currency common.TradingPair, period, size, since int) ([]common.Kline, error)
- func (g *Gdax) GetOneOrder(orderId string, currency common.TradingPair) (*common.Order, error)
- func (g *Gdax) GetOrderHistorys(currency common.TradingPair, currentPage, pageSize int) ([]common.Order, error)
- func (g *Gdax) GetTicker(currency common.TradingPair) (*common.Ticker, error)
- func (g *Gdax) GetTrades(currencyPair common.TradingPair, since int64) ([]common.Trade, error)
- func (g *Gdax) GetUnfinishOrders(currency common.TradingPair) ([]common.Order, error)
- func (g *Gdax) LimitBuy(amount, price string, currency common.TradingPair, ...) (*common.Order, error)
- func (g *Gdax) LimitSell(amount, price string, currency common.TradingPair, ...) (*common.Order, error)
- func (g *Gdax) MarketBuy(amount, price string, currency common.TradingPair) (*common.Order, error)
- func (g *Gdax) MarketSell(amount, price string, currency common.TradingPair) (*common.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) GetExchangeName ¶
func (*Gdax) GetKlineRecords ¶
func (*Gdax) GetOneOrder ¶
func (*Gdax) GetOrderHistorys ¶
func (*Gdax) GetUnfinishOrders ¶
func (*Gdax) LimitBuy ¶
func (g *Gdax) LimitBuy(amount, price string, currency common.TradingPair, opt ...common.LimitOrderOptionalParameter) (*common.Order, error)
func (*Gdax) LimitSell ¶
func (g *Gdax) LimitSell(amount, price string, currency common.TradingPair, opt ...common.LimitOrderOptionalParameter) (*common.Order, error)
func (*Gdax) MarketSell ¶
Click to show internal directories.
Click to hide internal directories.