Drop `Symbol.front_fqsn()` usage from chart, fsp and clearing stuff
parent
acc5af1fdb
commit
e65f3f84b9
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
))
|
||||
|
|
|
@ -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?
|
||||
|
|
|
@ -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}'
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue