schedule: show scheduled order price

This commit is contained in:
c9s 2021-08-26 10:29:27 +08:00
parent 684bfcea19
commit 0dd7438fd7

View File

@ -218,7 +218,7 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se
} }
s.Notifiability.Notify("Submitting scheduled order %s quantity %f", s.Symbol, quantity.Float64()) s.Notifiability.Notify("Submitting scheduled order %s quantity %f at price %f", s.Symbol, quantity.Float64(), closePrice.Float64())
_, err := orderExecutor.SubmitOrders(ctx, types.SubmitOrder{ _, err := orderExecutor.SubmitOrders(ctx, types.SubmitOrder{
Symbol: s.Symbol, Symbol: s.Symbol,
Side: side, Side: side,