order_mode: revert switch to `MktPair` for pre-order loading

rekt_pps
Tyler Goodlet 2023-04-20 13:04:40 -04:00
parent 4a0beda77e
commit 3cd853cb5d
1 changed files with 6 additions and 2 deletions

View File

@ -670,8 +670,12 @@ class OrderMode:
# fill out complex fields # fill out complex fields
order.oid = str(order.oid) order.oid = str(order.oid)
order.brokers = [brokername] order.brokers = [brokername]
order.symbol = MktPair.from_fqme(
fqme=fqme, # TODO: change this over to `MktPair`, but it's
# gonna be tough since we don't have any such data
# really in our clearing msg schema..
order.symbol = Symbol.from_fqme(
fqsn=fqme,
info={}, info={},
) )
dialog = self.submit_order( dialog = self.submit_order(