mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
优化
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
func main() {
|
||||
common.Test(func(c *tdx.Client) {
|
||||
resp, err := c.GetHistoryMinuteTradeDay("20241025", "sz000001")
|
||||
resp, err := c.GetHistoryMinuteTradeDay("20251010", "sh000001")
|
||||
logs.PanicErr(err)
|
||||
|
||||
for _, v := range resp.List {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
func main() {
|
||||
common.Test(func(c *tdx.Client) {
|
||||
|
||||
resp, err := c.GetHistoryTradeAll("20251010", "sz000001")
|
||||
resp, err := c.GetHistoryTradeDay("20251010", "sz000001")
|
||||
logs.PanicErr(err)
|
||||
|
||||
ks := resp.List.Klines()
|
||||
|
||||
Reference in New Issue
Block a user