Untitled conversation
- User
{ "e": "kline", # event type "E": 1499404907056, # event time "s": "ETHBTC", # symbol "k": { "t": 1499404860000, # start time of this bar "T": 1499404919999, # end time of this bar "s": "ETHBTC", # symbol "i": "1m", # interval "f": 77462, # first trade id "L": 77465, # last trade id "o": "0.10278577", # open "c": "0.10278645", # close "h": "0.10278712", # high "l": "0.10278518", # low "v": "17.47929838", # volume "n": 4, # number of trades "x": false, # whether this bar is final "q": "1.79662878", # quote volume "V": "2.34879839", # volume of active buy "Q": "0.24142166", # quote volume of active buy "B": "13279784.01349473" # can be ignored } }
so compare E and kt
- Assistant
The provided JSON contains a kline (candlestick) event for the symbol "ETHBTC". You are asking to compare the event time (
E) with the start time of the kline (kt), wherektis represented bytin the kline objectk.Let's extract the relevant fields first:
E: 1499404907056 (Event time)kt(tin the kline object): 1499404860000 (Start time of this bar)
Now, let's compare these two values:
E(Event time): 1499404907056kt(Start time of this bar): 1499404860000
Comparison in human-readable form:
Eis greater thankt. This means the event time when this message was emitted is after the start time of the kline bar.
In terms of exact difference:
- Difference (
E - kt): 1499404907056 - 1499404860000 = 47056 milliseconds (or approximately 47.056 seconds)
Summary:
- Event time (
E) occurred about 47 seconds after the start time of the kline (kt).