Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Symbols = []string{"BTCUSDT", "ETHUSDT", "BNBUSDT", "BCCUSDT", "NEOUSDT", "LTCUSDT", "QTUMUSDT", "ADAUSDT", "XRPUSDT", "EOSUSDT"} Intervals = []string{"1m", "3m", "5m", "15m", "30m", "1h", "4h", "8h", "1d"} )
View Source
var SymbolIntervals = []SymbolInterval{}
Functions ¶
This section is empty.
Types ¶
type Deskbot ¶
type Deskbot struct { Gvm *engine.Gvm Task taskmodel.Task Exbot *Exbot Symbol string Interval string // contains filtered or unexported fields }
func (*Deskbot) OnklineClose ¶
func (db *Deskbot) OnklineClose()
type Exbot ¶
type Exbot struct { Exchange *gvmbot.Exchange Ctx context.Context // contains filtered or unexported fields }
Launcher represents the main program execution.
func (*Exbot) AddSymbolInterval ¶
type GvmOptions ¶
type GvmOptions struct { Exchange string `json:"exchange" form:"exchange"` Symbol string `json:"symbol" form:"symbol"` Interval string `json:"interval" form:"interval"` Sname string `json:"sname" form:"sname"` Code string `json:"code" form:"code"` }
/策略现场
type SymbolInterval ¶
Click to show internal directories.
Click to hide internal directories.