add lastUpdate to candle and max
This commit is contained in:
parent
06a3db9d19
commit
9e9ff51894
@ -26,6 +26,7 @@ type Candle struct {
|
|||||||
Data []interface{}
|
Data []interface{}
|
||||||
From string
|
From string
|
||||||
Timestamp time.Time
|
Timestamp time.Time
|
||||||
|
LastUpdate time.Time `json:"lastUpdate"`
|
||||||
Open float64
|
Open float64
|
||||||
High float64
|
High float64
|
||||||
Low float64
|
Low float64
|
||||||
|
1
maX.go
1
maX.go
@ -21,6 +21,7 @@ type MaX struct {
|
|||||||
InstID string `json:"instID"`
|
InstID string `json:"instID"`
|
||||||
Period string `json:"period"`
|
Period string `json:"period"`
|
||||||
Timestamp time.Time `json:"timestamp"`
|
Timestamp time.Time `json:"timestamp"`
|
||||||
|
LastUpdate time.Time `json:"lastUpdate"`
|
||||||
KeyName string `json:"keyName"`
|
KeyName string `json:"keyName"`
|
||||||
Data []interface{} `json:"data"`
|
Data []interface{} `json:"data"`
|
||||||
Count int `json:"count,number"`
|
Count int `json:"count,number"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user