From d68a98c1dfa38e86b3f71c8110585537de7ae65d Mon Sep 17 00:00:00 2001 From: injoyai <1113655791@qq.com> Date: Thu, 31 Oct 2024 10:22:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8C=96=E5=87=BD=E6=95=B0=E5=90=8D?= =?UTF-8?q?=E7=A7=B0,=E5=8E=BB=E6=8E=89Stock=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client_test.go b/client_test.go index adb9c74..d388570 100644 --- a/client_test.go +++ b/client_test.go @@ -4,7 +4,6 @@ import ( "github.com/injoyai/logs" "github.com/injoyai/tdx/protocol" "testing" - "time" ) var ( @@ -24,8 +23,8 @@ func init() { func TestClient_GetStockHistoryMinuteTrade(t *testing.T) { do(func(c *Client) { - resp, err := c.GetStockHistoryMinuteTrade(protocol.StockHistoryMinuteTradeReq{ - Time: time.Date(2024, 10, 28, 0, 0, 0, 0, time.Local), + resp, err := c.GetHistoryMinuteTrade(protocol.HistoryMinuteTradeReq{ + Date: "20241028", Exchange: protocol.ExchangeSZ, Code: "000001", Start: 0,