mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
interact: revert to id = strategy.ID()
This commit is contained in:
parent
3d9994706b
commit
1f79e236ad
|
@ -413,7 +413,7 @@ func getStrategySignature(strategy SingleExchangeStrategy) (string, error) {
|
|||
|
||||
var signature = path.Base(rv.Type().PkgPath())
|
||||
|
||||
id := callID(strategy)
|
||||
var id = strategy.ID()
|
||||
|
||||
if !strings.EqualFold(id, signature) {
|
||||
signature += "." + strings.ToLower(id)
|
||||
|
|
Loading…
Reference in New Issue
Block a user