修改GetHistoryTradeAll为GetHistoryTradeDay,增加GetHistoryTradeFull,获取上市至今的分时成交

This commit is contained in:
钱纯净
2025-10-13 20:04:47 +08:00
parent cbf56d936d
commit 7bf4839310
2 changed files with 30 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ import (
func main() {
common.Test(func(c *tdx.Client) {
resp, err := c.GetHistoryMinuteTradeAll("20241025", "sz000001")
resp, err := c.GetHistoryMinuteTradeDay("20241025", "sz000001")
logs.PanicErr(err)
for _, v := range resp.List {