mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
max: add borrow and repay todo
This commit is contained in:
parent
78f9c7d569
commit
92882f68f4
|
@ -606,7 +606,7 @@ func (e *Exchange) QueryAccountBalances(ctx context.Context) (types.BalanceMap,
|
|||
Available: b.Balance,
|
||||
Locked: b.Locked,
|
||||
NetAsset: b.Balance.Add(b.Locked),
|
||||
Borrowed: b.Debt,
|
||||
Borrowed: b.Debt, // TODO: Replace this with borrow in the newer version
|
||||
Interest: b.Interest,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user