优化客户端开放字段,测试自动重连成功,另外可自定义日志等一些操作

This commit is contained in:
injoyai
2024-10-29 15:17:29 +08:00
parent 64d993a366
commit f9c7047f78
2 changed files with 39 additions and 33 deletions

View File

@@ -10,7 +10,7 @@ import (
func main() {
common.Test(func(c *tdx.Client) {
t := time.Date(2024, 10, 29, 0, 0, 0, 0, time.Local)
t := time.Date(2024, 10, 28, 0, 0, 0, 0, time.Local)
resp, err := c.GetStockHistoryMinuteTrade(t, protocol.ExchangeSH, "000001", 0, 2000)
logs.PanicErr(err)