Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binance ¶
type Binance struct { }
Binance is a Binance-Exchange trade_knife.Fetcher
func NewBinance ¶
func NewBinance() *Binance
NewBinance returns a pointer to a fresh Binance trader.
func (*Binance) NewQuote ¶
func (b *Binance) NewQuote(currency goex.CurrencyPair, market trade_knife.MarketType, interval trade_knife.Interval, openTime *time.Time) (*trade_knife.Quote, error)
NewQuote fetches quote from binance market.
type Okex ¶
type Okex struct { }
Okex is an Okay-Exchange trade_knife.Fetcher
func (*Okex) NewQuote ¶
func (ok *Okex) NewQuote(currency goex.CurrencyPair, market trade_knife.MarketType, interval trade_knife.Interval, openTime *time.Time) (*trade_knife.Quote, error)
NewQuote fetches quote from okex market.
Click to show internal directories.
Click to hide internal directories.