mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
29882ea5c0 |
@@ -262,7 +262,7 @@ func IsStock(code string) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func IsSZStock(code string) bool {
|
func IsSZStock(code string) bool {
|
||||||
return len(code) == 8 && strings.ToLower(code[0:2]) == ExchangeSZ.String() && code[2:3] == "0"
|
return len(code) == 8 && strings.ToLower(code[0:2]) == ExchangeSZ.String() && (code[2:3] == "0" || code[2:4] == "30")
|
||||||
}
|
}
|
||||||
|
|
||||||
func IsSHStock(code string) bool {
|
func IsSHStock(code string) bool {
|
||||||
|
|||||||
Reference in New Issue
Block a user