Documentation ¶
Index ¶
- Variables
- func GetTraderStatus(id int64) (status int64)
- func RunBackTesting(id int64, algorithm model.Algorithm) error
- func Switch(id int64, api []model.ApiConfig) (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 Talib
- type Tasks
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Global ¶
type Global struct { model.Trader Logger model.Logger //利用这个对象保存日志 // contains filtered or unexported fields }
Global ...
func (*Global) BindTaskParam ¶
BindTaskParam ...
Click to show internal directories.
Click to hide internal directories.