bbgo: add notification tag

This commit is contained in:
c9s 2022-09-07 01:05:43 +08:00
parent c2eec1e72b
commit 33fdcefba3
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -66,7 +66,7 @@ func (s *CumulatedVolumeTakeProfit) Bind(session *ExchangeSession, orderExecutor
} }
if cqv.Compare(s.MinQuoteVolume) > 0 { if cqv.Compare(s.MinQuoteVolume) > 0 {
Notify("%s TakeProfit triggered by cumulated volume (window: %d) %f > %f, price = %f", Notify("[CumulatedVolumeTakeProfit] %s TakeProfit triggered by cumulated volume (window: %d) %f > %f, price = %f",
position.Symbol, position.Symbol,
s.Window, s.Window,
cqv.Float64(), cqv.Float64(),