mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
schedule: fix order notification
This commit is contained in:
parent
b256e68f4d
commit
490eb15748
|
@ -212,7 +212,7 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se
|
|||
|
||||
}
|
||||
|
||||
s.Notifiability.Notify("Submitting scheduled order %s quantity %f", s.Symbol, quantity.Floor())
|
||||
s.Notifiability.Notify("Submitting scheduled order %s quantity %f", s.Symbol, quantity.Float64())
|
||||
_, err := orderExecutor.SubmitOrders(ctx, types.SubmitOrder{
|
||||
Symbol: s.Symbol,
|
||||
Side: side,
|
||||
|
|
Loading…
Reference in New Issue
Block a user