paper: on no input fqme, load all mktinfos from pos table
parent
f42bc2dbce
commit
62259880fd
|
@ -557,6 +557,11 @@ async def trades_dialogue(
|
||||||
# existing brokerd daemon?
|
# existing brokerd daemon?
|
||||||
# - alternatively we can possibly expect and use
|
# - alternatively we can possibly expect and use
|
||||||
# a `.broker.norm_trade_records()` ep?
|
# a `.broker.norm_trade_records()` ep?
|
||||||
|
fqmes: list[str] = [fqme]
|
||||||
|
if fqme is None:
|
||||||
|
fqmes = list(ppt.pps)
|
||||||
|
|
||||||
|
for fqme in fqmes:
|
||||||
mkt: MktPair | None = None
|
mkt: MktPair | None = None
|
||||||
brokermod = get_brokermod(broker)
|
brokermod = get_brokermod(broker)
|
||||||
gmi = getattr(brokermod, 'get_mkt_info', None)
|
gmi = getattr(brokermod, 'get_mkt_info', None)
|
||||||
|
|
Loading…
Reference in New Issue