mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-04 07:26:47 +00:00
Engine improvements
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user