mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
bbgo: add notify(profit)
This commit is contained in:
parent
79b70d4a31
commit
5bd292d0b2
|
@ -66,6 +66,8 @@ func (e *GeneralOrderExecutor) BindProfitStats(profitStats *types.ProfitStats) {
|
|||
}
|
||||
|
||||
profitStats.AddProfit(*profit)
|
||||
|
||||
Notify(profit)
|
||||
Notify(profitStats)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user