am i getting duplicate data?

aswin1231
I am using go package to subscribe and get tick data of few stocks.

I logged data i am getting with webosckets and it seems like duplicate data but timestamp is different.

is it likely that I am getting duplicate data or it's just others executing same orders at different time and it just looks like duplicate but not duplicate in real.
Please help.

here is the data

"InstrumentToken": 128002308,
"IsTradable": true,
"IsIndex": false,
"LastPrice": 58.39,
"LastTradedQuantity": 100,
"TotalBuyQuantity": 116813,
"TotalSellQuantity": 56910,
"VolumeTraded": 37054,
"tick_history": [
{
"timestamp": "2024-09-26T11:13:12.552082746+05:30",
"volume_traded": 36954,
"last_price": 58.4
},
{
"timestamp": "2024-09-26T11:13:36.179972459+05:30",
"volume_traded": 37054,
"last_price": 58.39
},
{
"timestamp": "2024-09-26T11:13:51.7804439+05:30",
"volume_traded": 37054,
"last_price": 58.39
},
{
"timestamp": "2024-09-26T11:13:56.88231454+05:30",
"volume_traded": 37054,
"last_price": 58.39
},
{
"timestamp": "2024-09-26T11:14:03.481575869+05:30",
"volume_traded": 37054,
"last_price": 58.39
}
],
  • ketansp
    @aswin1231 while this might seem as duplicate considering just 3 fields, if you look at the data in full mode, you might see that bids or asks might have changed. The exchange will broadcast a tick even if there is change in bids or asks (market depth) data.
  • aswin1231
    Thank you @ketansp i will check that
This discussion has been closed.