校对分时成交的金额,价格用int32有点不够,后续改成int64,单位分

This commit is contained in:
钱纯净
2024-10-30 23:07:55 +08:00
parent baecaf36dc
commit 5b22791bff
3 changed files with 17 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ import (
func main() {
common.Test(func(c *tdx.Client) {
resp, err := c.GetStockMinuteTradeAll(protocol.ExchangeSH, "000001")
resp, err := c.GetStockMinuteTrade(protocol.ExchangeSH, "000001", 0, 100)
logs.PanicErr(err)
for _, v := range resp.List {