fix(ftx): return original symbol if not found (e.g. BTC-PREP)

This commit is contained in:
Jui-Nan Lin 2021-05-25 23:29:50 +08:00
parent 2e749bb7a8
commit 1dd397f900

View File

@ -20,6 +20,10 @@ func toGlobalSymbol(original string) string {
}
func toLocalSymbol(original string) string {
if symbolMap[original] == "" {
return original
}
return symbolMap[original]
}