Documentation ¶
Index ¶
- Variables
- func GetTraderStatus(id int64) (status int64)
- func Switch(id int64) (err error)
- type Global
- func (g *Global) AddTask(group otto.Value, fn otto.Value, args ...interface{}) bool
- func (g *Global) BindTaskParam(group otto.Value, fn otto.Value, args ...interface{}) bool
- func (g *Global) Console(msgs ...interface{})
- func (g *Global) ExecTasks(group otto.Value) (results []interface{})
- func (g *Global) Log(msgs ...interface{})
- func (g *Global) LogProfit(msgs ...interface{})
- func (g *Global) Sleep(intervals ...interface{})
- type Tasks
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Executor = make(map[int64]*Global) //保存正在运行的策略,防止重复运行
)
Trader Variable
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.