From d82173dd5007b10a27b85983e49d104e66039c3d Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 20 Jun 2023 12:29:50 -0400 Subject: [PATCH] Always use fully expanded FQME throughout `.clearing` Since crypto backends now also may expand an FQME like `xbteur.kraken` -> `xbteur.spot.kraken` (by filling in the venue token), we need to use this identifier when looking up per-market order dialogs or submitting new requests. The simple fix is to simply look up that expanded from from the `Feed.flumes` table which is always keyed by the `MktPair.fqme: str` - the expanded form. --- piker/clearing/_util.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/piker/clearing/_util.py b/piker/clearing/_util.py index 9015ba69..9eebf1c4 100644 --- a/piker/clearing/_util.py +++ b/piker/clearing/_util.py @@ -91,6 +91,3 @@ class OrderDialogs(Struct): ''' return self._flows.pop(oid) - - -