Fix `MktPair.bs_fqme` to properly strip broker suffix

master
Tyler Goodlet 2023-05-17 09:45:00 -04:00
parent 07b7d1d229
commit 5c8a45c64a
1 changed files with 2 additions and 1 deletions

View File

@ -444,7 +444,8 @@ class MktPair(Struct, frozen=True):
FQME sin broker part XD
'''
return self.fqme.rstrip(f'.{self.broker}')
head, _, broker = self.fqme.rpartition('.')
return head
@property
def fqsn(self) -> str: