校对数据

This commit is contained in:
钱纯净
2024-10-30 22:46:26 +08:00
parent 3f9d3382f5
commit 1e69208787
2 changed files with 2 additions and 7 deletions

View File

@@ -9,12 +9,7 @@ import (
func main() {
common.Test(func(c *tdx.Client) {
resp, err := c.GetStockKlineDay(&protocol.StockKlineReq{
Exchange: protocol.ExchangeSH,
Code: "000001",
Start: 0,
Count: 10,
})
resp, err := c.GetStockKlineDayAll(protocol.ExchangeSH, "000001")
logs.PanicErr(err)
for _, v := range resp.List {

View File

@@ -10,7 +10,7 @@ import (
func main() {
common.Test(func(c *tdx.Client) {
resp, err := c.GetStockMinuteTrade(protocol.ExchangeSH, "000001", 0, 1900)
resp, err := c.GetStockMinuteTradeAll(protocol.ExchangeSH, "000001")
logs.PanicErr(err)
for _, v := range resp.List {