mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
简化函数名称,去掉Stock前缀
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
|||||||
"github.com/injoyai/logs"
|
"github.com/injoyai/logs"
|
||||||
"github.com/injoyai/tdx/protocol"
|
"github.com/injoyai/tdx/protocol"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -24,8 +23,8 @@ func init() {
|
|||||||
|
|
||||||
func TestClient_GetStockHistoryMinuteTrade(t *testing.T) {
|
func TestClient_GetStockHistoryMinuteTrade(t *testing.T) {
|
||||||
do(func(c *Client) {
|
do(func(c *Client) {
|
||||||
resp, err := c.GetStockHistoryMinuteTrade(protocol.StockHistoryMinuteTradeReq{
|
resp, err := c.GetHistoryMinuteTrade(protocol.HistoryMinuteTradeReq{
|
||||||
Time: time.Date(2024, 10, 28, 0, 0, 0, 0, time.Local),
|
Date: "20241028",
|
||||||
Exchange: protocol.ExchangeSZ,
|
Exchange: protocol.ExchangeSZ,
|
||||||
Code: "000001",
|
Code: "000001",
|
||||||
Start: 0,
|
Start: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user