Oof, fix `.size` tick msg encode..

account_tests
Tyler Goodlet 2023-07-07 19:03:54 -04:00
parent ddc5f2b441
commit 520414a096
1 changed files with 3 additions and 2 deletions

View File

@ -324,7 +324,7 @@ class MktPair(Struct, frozen=True):
d['dst'] = self.dst.to_dict() d['dst'] = self.dst.to_dict()
d['price_tick'] = str(self.price_tick) 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: if self.contract_info is None:
d.pop('contract_info') d.pop('contract_info')
@ -416,8 +416,9 @@ class MktPair(Struct, frozen=True):
# which we expect to be filled in by some # which we expect to be filled in by some
# backend client with access to that data-info. # backend client with access to that data-info.
return cls( return cls(
# XXX: not resolved to ``Asset`` :(
dst=dst, dst=dst,
# XXX: not resolved to ``Asset`` :(
#src=src,
broker=broker, broker=broker,
venue=venue, venue=venue,