Fix `MktPair.bs_fqme` to properly strip broker suffix
parent
07b7d1d229
commit
5c8a45c64a
|
@ -444,7 +444,8 @@ class MktPair(Struct, frozen=True):
|
||||||
FQME sin broker part XD
|
FQME sin broker part XD
|
||||||
|
|
||||||
'''
|
'''
|
||||||
return self.fqme.rstrip(f'.{self.broker}')
|
head, _, broker = self.fqme.rpartition('.')
|
||||||
|
return head
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def fqsn(self) -> str:
|
def fqsn(self) -> str:
|
||||||
|
|
Loading…
Reference in New Issue