mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
xmaker: add todo note
This commit is contained in:
parent
7367ea73b8
commit
e3079c134c
|
@ -928,6 +928,7 @@ func (s *Strategy) CrossRun(
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// TODO: remove this nil value behavior, check all OnProfit usage and remove the EmitProfit call with nil profit
|
||||||
s.tradeCollector.OnProfit(func(trade types.Trade, profit *types.Profit) {
|
s.tradeCollector.OnProfit(func(trade types.Trade, profit *types.Profit) {
|
||||||
if profit != nil {
|
if profit != nil {
|
||||||
if s.CircuitBreaker != nil {
|
if s.CircuitBreaker != nil {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user