Documentation ¶
Index ¶
- type Gate
- func (g *Gate) CancelOrder(orderId string, currency CurrencyPair) (bool, error)
- func (g *Gate) GetAccount() (*Account, error)
- func (g *Gate) GetDepth(size int, currency CurrencyPair) (*Depth, error)
- func (g *Gate) GetExchangeName() string
- func (g *Gate) GetKlineRecords(currency CurrencyPair, period, size, since int) ([]Kline, error)
- func (g *Gate) GetOneOrder(orderId string, currency CurrencyPair) (*Order, error)
- func (g *Gate) GetOrderHistorys(currency CurrencyPair, currentPage, pageSize int) ([]Order, error)
- func (g *Gate) GetTicker(currency CurrencyPair) (*Ticker, error)
- func (g *Gate) GetTrades(currencyPair CurrencyPair, since int64) ([]Trade, error)
- func (g *Gate) GetUnfinishOrders(currency CurrencyPair) ([]Order, error)
- func (g *Gate) LimitBuy(amount, price string, currency CurrencyPair) (*Order, error)
- func (g *Gate) LimitSell(amount, price string, currency CurrencyPair) (*Order, error)
- func (g *Gate) MarketBuy(amount, price string, currency CurrencyPair) (*Order, error)
- func (g *Gate) 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 Gate ¶
type Gate struct {
// contains filtered or unexported fields
}
func (*Gate) CancelOrder ¶
func (*Gate) GetKlineRecords ¶
func (*Gate) GetOneOrder ¶
func (*Gate) GetOrderHistorys ¶
func (*Gate) GetTrades ¶
非个人,整个交易所的交易记录
func (*Gate) GetUnfinishOrders ¶
func (*Gate) LimitBuy ¶
func (*Gate) LimitSell ¶
func (*Gate) MarketBuy ¶
Click to show internal directories.
Click to hide internal directories.