From 8f3f2d4d52f15f7263b90be075e9044e5897e843 Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Fri, 20 Dec 2024 13:26:14 +0800 Subject: [PATCH] =?UTF-8?q?candle=20=E5=92=8C=20max=E9=87=8C=E7=9A=84?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=9C=A8json=E5=BA=8F=E5=88=97=E5=8C=96?= =?UTF-8?q?=E6=97=B6=E7=BB=9F=E4=B8=80=E4=BA=86=E5=AD=97=E6=AE=B5=E5=90=8D?= =?UTF-8?q?=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- candle.go | 6 +++--- maX.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/candle.go b/candle.go index 2ca2ac0..2e5b598 100644 --- a/candle.go +++ b/candle.go @@ -21,14 +21,14 @@ import ( type Candle struct { Id string `json:"_id"` core *Core - InstID string `json:"instId"` + InstID string `json:"instID"` Period string `json:"period"` Data []interface{} From string `json:"from"` - Timestamp time.Time `json:""` + Timestamp time.Time `json:"timeStamp"` LastUpdate time.Time `json:"lastUpdate"` Open float64 `json:"open"` - High float64 `json:"higth"` + High float64 `json:"high"` Low float64 `json:"low"` Close float64 `json:"close"` VolCcy float64 `json:"volCcy"` diff --git a/maX.go b/maX.go index fef2c17..930b575 100644 --- a/maX.go +++ b/maX.go @@ -21,7 +21,7 @@ type MaX struct { Id string `json:"_id"` InstID string `json:"instID"` Period string `json:"period"` - Timestamp time.Time `json:"timestamp"` + Timestamp time.Time `json:"timeStamp"` LastUpdate time.Time `json:"lastUpdate"` KeyName string `json:"keyName"` Data []interface{} `json:"data"`