mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
strategy: fix typo
This commit is contained in:
parent
c2747ca9e4
commit
8f4ba971f1
|
@ -599,7 +599,7 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se
|
|||
orderForm := s.trailingStopControl.GenerateStopOrder(s.state.Position.Base)
|
||||
orders, err := s.submitOrders(ctx, orderExecutor, orderForm)
|
||||
if err != nil {
|
||||
log.WithError(err).Error("submit %s profit trailing stop order error", s.Symbol)
|
||||
log.WithError(err).Errorf("submit %s profit trailing stop order error", s.Symbol)
|
||||
s.Notify("submit %s profit trailing stop order error", s.Symbol)
|
||||
} else {
|
||||
s.trailingStopControl.OrderID = orders.IDs()[0]
|
||||
|
|
Loading…
Reference in New Issue
Block a user