mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
schedule: show closed price
This commit is contained in:
parent
f0503b99a1
commit
6917b98a74
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user