Documentation
¶
Index ¶
Constants ¶
View Source
const ( Banner = "QuantBot" Version = "0.0.3" ErrAuthorizationError = "Authorization Error" ErrInsufficientPermissions = "Insufficient Permissions" )
error constants
View Source
const ( Zb = "zb" Okex = "okex" Huobi = "huobi" Binance = "binance" GateIo = "gateio" Poloniex = "poloniex" OkexFuture = "okex.future" BigOne = "big.one" )
exchange types
View Source
const ( ERROR = "ERROR" INFO = "INFO" PROFIT = "PROFIT" BUY = "BUY" SELL = "SELL" LONG = "LONG" SHORT = "SHORT" LONGCLOSE = "LONG_CLOSE" SHORTCLOSE = "SHORT_CLOSE" CANCEL = "CANCEL" )
log types
View Source
const ( TradeTypeBuy = "BUY" TradeTypeSell = "SELL" TradeTypeLong = "LONG" TradeTypeShort = "SHORT" TradeTypeLongClose = "LONG_CLOSE" TradeTypeShortClose = "SHORT_CLOSE" )
trade types
Variables ¶
View Source
var ( Consts = []string{"M", "M5", "M15", "M30", "H", "D", "W"} ExchangeTypes = []string{Zb, Okex, Huobi, Binance, GateIo, Poloniex, OkexFuture, BigOne} )
some variables
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.