Skip to content

Commit

Permalink
xalign: set DeviationDetector's logger
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Dec 4, 2024
1 parent 5a3b097 commit aebaeb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/strategy/xalign/strategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,8 @@ func (s *Strategy) CrossRun(ctx context.Context, _ bbgo.OrderExecutionRouter, se
return b.Net().Float64()
},
)

s.deviationDetectors[currency].SetLogger(log)
}

markets := types.MarketMap{}
Expand Down

0 comments on commit aebaeb7

Please sign in to comment.