mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
bbgo: add notification tag
This commit is contained in:
parent
c2eec1e72b
commit
33fdcefba3
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user