Skip to content

Commit

Permalink
xdepthmaker: update instance id format
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Dec 20, 2023
1 parent eb36ed6 commit 58321e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/strategy/xdepthmaker/strategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func (s *Strategy) ID() string {
}

func (s *Strategy) InstanceID() string {
return fmt.Sprintf("%s:%s", ID, s.Symbol)
return fmt.Sprintf("%s:%s:%s-%s", ID, s.Symbol, s.MakerExchange, s.HedgeExchange)
}

func (s *Strategy) Initialize() error {
Expand Down

0 comments on commit 58321e8

Please sign in to comment.