Documentation ¶
Index ¶
- Variables
- func GetTraderStatus(id int64) (status int64)
- func Switch(id int64) (err error)
- type Global
- func (g *Global) AddTask(fn otto.Value, args ...interface{}) bool
- func (g *Global) ExecTasks() (results []interface{})
- func (g *Global) Log(msgs ...interface{})
- func (g *Global) LogProfit(msgs ...interface{})
- func (g *Global) LogStatus(msgs ...interface{})
- func (g *Global) SendEmail(msgs ...interface{})
- func (g *Global) Sleep(intervals ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Executor = make(map[int64]*Global)
)
Trader Variable
Functions ¶
Types ¶
type Global ¶
type Global struct { model.Trader Logger model.Logger Ctx *otto.Otto Email listener.Email // contains filtered or unexported fields }
Global ...
Click to show internal directories.
Click to hide internal directories.