Versions in this module Expand all Collapse all v0 v0.0.33 Sep 20, 2021 Changes in this version + type BinancePaperTrader struct + ActiveTrade *trade_knife.Trade + BuyScoreTrigger float64 + CloseOnOpposite bool + Cross bool + Debug bool + SellScoreTrigger float64 + Trades trade_knife.Trades + Wallet float64 + func NewBinancePaperTrader(candleChannel trade_knife.CandleChannel, entryChannel trade_knife.EnterChannel, ...) *BinancePaperTrader + func (pt *BinancePaperTrader) Close(id string, exit float64, closeCandle *trade_knife.Candle) + func (pt *BinancePaperTrader) CloseWatcher() + func (pt *BinancePaperTrader) EntryWatcher() + func (pt *BinancePaperTrader) ExitWatcher() + func (pt *BinancePaperTrader) Open(currency goex.CurrencyPair, position trade_knife.PositionType, ...) *trade_knife.Trade + func (pt *BinancePaperTrader) Start() trade_knife.TradeError + type Okex struct + ActiveTrade *trade_knife.Trade + Api *okex.OKExSwap + BuyScoreTrigger float64 + CloseOnOpposite bool + Cross bool + Debug bool + Lever float64 + Market trade_knife.MarketType + SellScoreTrigger float64 + Trades trade_knife.Trades + func NewOkex(apiKey, secretKey, passphrase string, candleChannel trade_knife.CandleChannel, ...) *Okex + func (ok *Okex) Close(id, exit float64, closeCandle *trade_knife.Candle) + func (ok *Okex) CloseWatcher() + func (ok *Okex) EntryWatcher() + func (ok *Okex) ExitWatcher() + func (ok *Okex) Open(id string, currency goex.CurrencyPair, position trade_knife.PositionType, ...) *trade_knife.Trade + func (ok *Okex) Start() trade_knife.TradeError