mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
fix message formating
This commit is contained in:
parent
1f449eca7f
commit
e0d3b7a418
|
@ -50,9 +50,7 @@ func (s *Strategy) ID() string {
|
|||
return ID
|
||||
}
|
||||
|
||||
func (s *Strategy) CrossSubscribe(sessions map[string]*bbgo.ExchangeSession) {
|
||||
|
||||
}
|
||||
func (s *Strategy) CrossSubscribe(sessions map[string]*bbgo.ExchangeSession) { }
|
||||
|
||||
func (s *Strategy) checkBalance(ctx context.Context, sessions map[string]*bbgo.ExchangeSession) {
|
||||
s.Notifiability.Notify("Checking %s low balance level exchange session...", s.Asset)
|
||||
|
@ -68,7 +66,7 @@ func (s *Strategy) checkBalance(ctx context.Context, sessions map[string]*bbgo.E
|
|||
return
|
||||
}
|
||||
|
||||
s.Notifiability.Notify("Found %s low balance level %s", s.Asset, lowLevelBalance)
|
||||
s.Notifiability.Notify("Found %s low balance level %s", s.Asset, lowLevelBalance.String())
|
||||
|
||||
requiredAmount := s.Middle - lowLevelBalance.Available
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user