mirror of
https://github.com/zhangxiangliang/stock-api.git
synced 2025-02-02 14:18:44 +08:00
fix: 修正 新浪美交所股票代码转换错误
This commit is contained in:
parent
95f7d0968d
commit
1113b85a78
@ -76,7 +76,7 @@ class SinaExchangeTransform extends BaseTransform {
|
||||
throw new Error("请检查股票代码是否正确");
|
||||
}
|
||||
|
||||
return "gb_" + code.replace(US, "");
|
||||
return "gb_" + code.replace(US, "").toLowerCase();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user