吧代码的传参方式从sz,000001改成sz000001

This commit is contained in:
钱纯净
2024-11-05 00:30:01 +08:00
parent c90adef204
commit bf5b4e5759
4 changed files with 63 additions and 61 deletions

View File

@@ -4,12 +4,11 @@ import (
"github.com/injoyai/logs"
"github.com/injoyai/tdx"
"github.com/injoyai/tdx/example/common"
"github.com/injoyai/tdx/protocol"
)
func main() {
common.Test(func(c *tdx.Client) {
resp, err := c.GetKlineDayAll(protocol.ExchangeSH, "000001")
resp, err := c.GetKlineDayAll("sz000001")
logs.PanicErr(err)
for _, v := range resp.List {