mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
xbalance: fix message
This commit is contained in:
parent
5a0ae6773c
commit
47258b31c6
|
@ -194,7 +194,7 @@ func (s *Strategy) checkBalance(ctx context.Context, sessions map[string]*bbgo.E
|
|||
|
||||
requiredAmount := middle - lowLevelBalance.Available
|
||||
|
||||
s.Notifiability.Notify("Need %f %s to satisfy the middle balance level %f", requiredAmount.Float64(), s.Asset, s.Middle.Float64())
|
||||
s.Notifiability.Notify("Need %f %s to satisfy the middle balance level %f", requiredAmount.Float64(), s.Asset, middle.Float64())
|
||||
|
||||
fromSession, _, err := s.findHighestBalanceLevelSession(sessions, requiredAmount)
|
||||
if err != nil || fromSession == nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user