schedule: show closed price

This commit is contained in:
c9s 2021-08-19 16:54:47 +08:00
parent f0503b99a1
commit 6917b98a74

View File

@ -140,7 +140,7 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se
}
if !match {
s.Notifiability.Notify("skip, the %s closed price is below or above moving average", s.Symbol)
s.Notifiability.Notify("skip, the %s closed price %f is below or above moving average", s.Symbol, closePrice.Float64())
return
}
}