From 520414a096c95967de14ff1a7440e348b5412051 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 7 Jul 2023 19:03:54 -0400 Subject: [PATCH] Oof, fix `.size` tick msg encode.. --- piker/accounting/_mktinfo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/piker/accounting/_mktinfo.py b/piker/accounting/_mktinfo.py index 534e9c06..2c180f25 100644 --- a/piker/accounting/_mktinfo.py +++ b/piker/accounting/_mktinfo.py @@ -324,7 +324,7 @@ class MktPair(Struct, frozen=True): d['dst'] = self.dst.to_dict() d['price_tick'] = str(self.price_tick) - d['size_tick'] = str(self.price_tick) + d['size_tick'] = str(self.size_tick) if self.contract_info is None: d.pop('contract_info') @@ -416,8 +416,9 @@ class MktPair(Struct, frozen=True): # which we expect to be filled in by some # backend client with access to that data-info. return cls( - # XXX: not resolved to ``Asset`` :( dst=dst, + # XXX: not resolved to ``Asset`` :( + #src=src, broker=broker, venue=venue,