Engine improvements

This commit is contained in:
Adrian Gallagher
2019-06-10 20:02:09 +10:00
parent 04c7c4895f
commit f777e68716
88 changed files with 2037 additions and 1413 deletions

View File

@@ -139,7 +139,10 @@ func (e *Event) ExecuteAction() bool {
if action[0] == ActionSMSNotify {
message := fmt.Sprintf("Event triggered: %s", e.String())
if action[1] == "ALL" {
comms.PushEvent(base.Event{TradeDetails: message})
comms.PushEvent(base.Event{
Type: "event",
Message: message,
})
}
}
} else {