I have noticed that sometimes your agg trader will catch some trades that my websockets stream isn't catching and visa versa ... Also your agg trader catches way more million dollar buys than mine does
I took a look at your github and noticed you don't seem to be doing anything different than me and i have the same exchanges running and everything ... also i noticed that you are squishing alot of different prices together if you get a list of trades that aren't the same price which is really not good.
sometimes there will be like a 5 dollar difference on bitcoin between prices but you will squish them all into one price which is how you sometimes get 7 or 8 mil buys on bybit for a specific price but that isn't really the case
would love to talk to you more about this because i also made my own big trade market scanner. So if your interested in talking let me know
So you are basically just grouping by side and time and merging all the prices together