Drop `Symbol.front_fqsn()` usage from chart, fsp and clearing stuff

rekt_pps
Tyler Goodlet 2023-03-14 20:18:00 -04:00
parent acc5af1fdb
commit e65f3f84b9
4 changed files with 5 additions and 5 deletions

View File

@ -300,10 +300,10 @@ class BrokerdError(Struct):
class BrokerdPosition(Struct):
'''Position update event from brokerd.
'''
Position update event from brokerd.
'''
broker: str
account: str
symbol: str

View File

@ -544,7 +544,7 @@ async def trades_dialogue(
pp_msgs.append(BrokerdPosition(
broker=broker,
account='paper',
symbol=pos.symbol.front_fqsn(),
symbol=pos.symbol.fqme,
size=pos.size,
avg_price=pos.ppu,
))

View File

@ -104,7 +104,7 @@ async def fsp_compute(
disabled=True
)
fqsn = symbol.front_fqsn()
fqsn = symbol.fqme
out_stream = func(
# TODO: do we even need this if we do the feed api right?

View File

@ -290,7 +290,7 @@ class GodWidget(QWidget):
symbol = self.rt_linked.symbol
if symbol is not None:
self.window.setWindowTitle(
f'{symbol.front_fqsn()} '
f'{symbol.fqme} '
f'tick:{symbol.tick_size}'
)