mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55: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)
|
profitStats.AddProfit(*profit)
|
||||||
|
|
||||||
|
Notify(profit)
|
||||||
Notify(profitStats)
|
Notify(profitStats)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user