mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 08:11:08 +00:00
add verbose log message for movingstop
This commit is contained in:
parent
17fd6a405b
commit
976a4c6732
|
@ -141,6 +141,8 @@ func (s *Strategy) place(ctx context.Context, orderExecutor *bbgo.ExchangeOrderE
|
|||
stopPrice = stopPrice * s.StopPriceRatio.Float64()
|
||||
}
|
||||
|
||||
log.Infof("placing movingstop order %s at stop price %f, quantity %f", s.Symbol, stopPrice, quantity.Float64())
|
||||
|
||||
retOrders, err := orderExecutor.SubmitOrders(ctx, types.SubmitOrder{
|
||||
Symbol: s.Symbol,
|
||||
Side: types.SideTypeSell,
|
||||
|
|
Loading…
Reference in New Issue
Block a user