mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
fix(ftx): return original symbol if not found (e.g. BTC-PREP)
This commit is contained in:
parent
2e749bb7a8
commit
1dd397f900
|
@ -20,6 +20,10 @@ func toGlobalSymbol(original string) string {
|
|||
}
|
||||
|
||||
func toLocalSymbol(original string) string {
|
||||
if symbolMap[original] == "" {
|
||||
return original
|
||||
}
|
||||
|
||||
return symbolMap[original]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user