bbgo: add notify(profit)

This commit is contained in:
c9s 2022-07-08 16:43:32 +08:00
parent 79b70d4a31
commit 5bd292d0b2
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -66,6 +66,8 @@ func (e *GeneralOrderExecutor) BindProfitStats(profitStats *types.ProfitStats) {
}
profitStats.AddProfit(*profit)
Notify(profit)
Notify(profitStats)
})
}