From c357ca59952b66ea920d50f7645474dcd8b8927d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=B1=E7=BA=AF=E5=87=80?= <1113655791@qq.com> Date: Sat, 15 Mar 2025 15:11:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8E=86=E5=8F=B2=E5=88=86?= =?UTF-8?q?=E6=97=B6=E5=9B=BE=E7=9A=84=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/GetHistoryMinute/main.go | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 example/GetHistoryMinute/main.go diff --git a/example/GetHistoryMinute/main.go b/example/GetHistoryMinute/main.go new file mode 100644 index 0000000..5a81b28 --- /dev/null +++ b/example/GetHistoryMinute/main.go @@ -0,0 +1,22 @@ +package main + +import ( + "github.com/injoyai/logs" + "github.com/injoyai/tdx" + "github.com/injoyai/tdx/example/common" +) + +func main() { + + common.Test(func(c *tdx.Client) { + resp, err := c.GetHistoryMinute("20250314", "sz000001") + logs.PanicErr(err) + + for _, v := range resp.List { + logs.Debug(v) + } + + logs.Debug(resp.Count) + + }) +}