mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
autoborrow: notify balance delta event
This commit is contained in:
parent
f349f3620c
commit
1dfb0cd1a1
|
@ -350,6 +350,8 @@ func (s *Strategy) handleBalanceUpdate(balances types.BalanceMap) {
|
|||
}
|
||||
|
||||
func (s *Strategy) handleBinanceBalanceUpdateEvent(event *binance.BalanceUpdateEvent) {
|
||||
bbgo.Notify(event)
|
||||
|
||||
if s.MinMarginLevel.IsZero() {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user