mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
xdepthmaker: update instance id format
This commit is contained in:
parent
eb36ed6926
commit
58321e8aa5
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user