增加同花顺的复权日线数据接口,拉取测试通过(无成交金额数据),后续应该会转移位置

This commit is contained in:
钱纯净
2025-05-29 22:42:14 +08:00
parent 6d849a8756
commit 2efd7e089e
2 changed files with 174 additions and 0 deletions

18
extend/spider_ths_test.go Normal file
View File

@@ -0,0 +1,18 @@
package extend
import (
"context"
"testing"
)
func TestNewSpiderTHS(t *testing.T) {
x := NewTHSDayKline()
ls, err := x.Pull(context.Background(), "sz000001", THS_HFQ)
if err != nil {
t.Error(err)
return
}
for _, v := range ls {
t.Log(v)
}
}