From 3cd853cb5dbfd42bd8ad0dd2d0f9cea32eca26d3 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 20 Apr 2023 13:04:40 -0400 Subject: [PATCH] order_mode: revert switch to `MktPair` for pre-order loading --- piker/ui/order_mode.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/piker/ui/order_mode.py b/piker/ui/order_mode.py index 256bf7b6..32b8b039 100644 --- a/piker/ui/order_mode.py +++ b/piker/ui/order_mode.py @@ -670,8 +670,12 @@ class OrderMode: # fill out complex fields order.oid = str(order.oid) 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={}, ) dialog = self.submit_order(