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"`