mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
bollpp: send profit stat notification
This commit is contained in:
parent
e835e63c9b
commit
d446dbbed7
|
@ -289,6 +289,7 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se
|
|||
}
|
||||
s.state.ProfitStats.AddProfit(p)
|
||||
s.Notify(&p)
|
||||
s.Notify(&s.state.ProfitStats)
|
||||
})
|
||||
|
||||
s.tradeCollector.OnTrade(func(trade types.Trade) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user