mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 08:11:08 +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 {
|
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 {
|
func (s *Strategy) Initialize() error {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user