mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
autoborrow: change debugf to infof
This commit is contained in:
parent
7b2398ce39
commit
333378a52a
|
@ -114,7 +114,7 @@ func (s *Strategy) checkAndBorrow(ctx context.Context) {
|
||||||
if ok {
|
if ok {
|
||||||
toBorrow := marginAsset.Low.Sub(b.Total())
|
toBorrow := marginAsset.Low.Sub(b.Total())
|
||||||
if toBorrow.Sign() < 0 {
|
if toBorrow.Sign() < 0 {
|
||||||
log.Debugf("balance %f > low %f. no need to borrow asset %+v",
|
log.Infof("balance %f > low %f. no need to borrow asset %+v",
|
||||||
b.Total().Float64(),
|
b.Total().Float64(),
|
||||||
marginAsset.Low.Float64(),
|
marginAsset.Low.Float64(),
|
||||||
marginAsset)
|
marginAsset)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user