增加获取北京交易所股票列表,通达信好像没有北交所股票列表

This commit is contained in:
钱纯净
2025-09-27 17:38:43 +08:00
parent 86404db551
commit 2566ef5cec
2 changed files with 120 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package main
import (
"github.com/injoyai/logs"
"github.com/injoyai/tdx/extend"
)
func main() {
ls, err := extend.GetBjCodes()
if err != nil {
logs.Err(err)
return
}
for _, v := range ls {
logs.Debug(v)
}
logs.Debug("总数量:", len(ls))
}