pikers / piker

(e2e) foss trading for non-tinas
GNU Affero General Public License v3.0
104 stars 17 forks source link

Only emit `'trade'` ticks on msgs with new(er) timestamps #497

Closed goodboy closed 1 year ago

goodboy commented 1 year ago

Not sure it needs more explanation but, more or less kucoin is super weird with emitting msgs without actual data updates?

I've solved it by only emitting "trade" ticks on ts increments. I wonder if we can find a sane way to log some diffs in these messages to console so we can see what's actually changing?

goodboy commented 1 year ago

Missed a commit before a submitting this.

All covered in #494