From 60a8c65c934da7777ca79728ad27555b4b904824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=B1=E7=BA=AF=E5=87=80?= <1113655791@qq.com> Date: Mon, 17 Feb 2025 23:40:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E4=B8=AA=E8=82=A1=E5=92=8C?= =?UTF-8?q?=E6=8C=87=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/GetIndex/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/example/GetIndex/main.go b/example/GetIndex/main.go index 8b7e002..e93a440 100644 --- a/example/GetIndex/main.go +++ b/example/GetIndex/main.go @@ -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.GetIndex(protocol.TypeKlineDay, "sh000001", 0, 100) + resp, err := c.GetKlineDay("sh000001", 0, 10) logs.PanicErr(err) for _, v := range resp.List {