mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
improve warning messages
This commit is contained in:
parent
fe4e4bf5ea
commit
fa3ca54a55
|
@ -356,7 +356,7 @@ func (s *Strategy) Hedge(ctx context.Context, pos fixedpoint.Value) {
|
|||
|
||||
notional := quantity.MulFloat64(lastPrice)
|
||||
if notional.Float64() <= s.sourceMarket.MinNotional {
|
||||
log.Warnf("less than min notional %f, skipping", notional.Float64())
|
||||
log.Warnf("%s %f less than min notional, skipping", s.Symbol, notional.Float64())
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user