mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
xfunding: log spot balance
This commit is contained in:
parent
a766d88d60
commit
12aad7b292
|
@ -871,6 +871,8 @@ func (s *Strategy) syncSpotPosition(ctx context.Context) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Infof("spot balance: %+v", b)
|
||||||
|
|
||||||
orderQuantity = fixedpoint.Min(b.Available, orderQuantity)
|
orderQuantity = fixedpoint.Min(b.Available, orderQuantity)
|
||||||
|
|
||||||
// avoid increase the order size
|
// avoid increase the order size
|
||||||
|
|
Loading…
Reference in New Issue
Block a user