mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
Fix log
This commit is contained in:
parent
2999e41ef0
commit
4a8be9cc1a
|
@ -195,6 +195,7 @@ func (s *Strategy) generateSubmitOrders(prices, marketValues map[string]fixedpoi
|
|||
weightDifference := targetWeight.Sub(currentWeight)
|
||||
if weightDifference.Abs() < s.Threshold {
|
||||
log.Infof("%s weight distance |%f - %f| = |%f| less than the threshold: %f",
|
||||
symbol,
|
||||
currentWeight.Float64(),
|
||||
targetWeight.Float64(),
|
||||
weightDifference.Float64(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user