bithumb

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bithumb

type Bithumb struct {
	// contains filtered or unexported fields
}

func New

func New(client *http.Client, accesskey, secretkey string) *Bithumb

func (*Bithumb) CancelOrder

func (bit *Bithumb) CancelOrder(orderId string, currency CurrencyPair) (bool, error)

func (*Bithumb) CancelOrder2

func (bit *Bithumb) CancelOrder2(side, orderId string, currency CurrencyPair) (bool, error)

补丁

func (*Bithumb) GetAccount

func (bit *Bithumb) GetAccount() (*Account, error)

func (*Bithumb) GetDepth

func (bit *Bithumb) GetDepth(size int, currency CurrencyPair) (*Depth, error)

func (*Bithumb) GetExchangeName

func (bit *Bithumb) GetExchangeName() string

func (*Bithumb) GetKlineRecords

func (bit *Bithumb) GetKlineRecords(currency CurrencyPair, period, size, since int) ([]Kline, error)

func (*Bithumb) GetOneOrder

func (bit *Bithumb) GetOneOrder(orderId string, currency CurrencyPair) (*Order, error)

func (*Bithumb) GetOneOrder2

func (bit *Bithumb) GetOneOrder2(side, orderId string, currency CurrencyPair) (*Order, error)

补丁

func (*Bithumb) GetOrderHistorys

func (bit *Bithumb) GetOrderHistorys(currency CurrencyPair, currentPage, pageSize int) ([]Order, error)

func (*Bithumb) GetTicker

func (bit *Bithumb) GetTicker(currency CurrencyPair) (*Ticker, error)

func (*Bithumb) GetTrades

func (bit *Bithumb) GetTrades(currencyPair CurrencyPair, since int64) ([]Trade, error)

非个人,整个交易所的交易记录

func (*Bithumb) GetUnfinishOrders

func (bit *Bithumb) GetUnfinishOrders(currency CurrencyPair) ([]Order, error)

func (*Bithumb) LimitBuy

func (bit *Bithumb) LimitBuy(amount, price string, currency CurrencyPair) (*Order, error)

func (*Bithumb) LimitSell

func (bit *Bithumb) LimitSell(amount, price string, currency CurrencyPair) (*Order, error)

func (*Bithumb) MarketBuy

func (bit *Bithumb) MarketBuy(amount, price string, currency CurrencyPair) (*Order, error)

func (*Bithumb) MarketSell

func (bit *Bithumb) MarketSell(amount, price string, currency CurrencyPair) (*Order, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL