mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
schedule: show scheduled order price
This commit is contained in:
parent
684bfcea19
commit
0dd7438fd7
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user