ib.broker: load account name map as a `bidict` (no `tomlkit` support)
parent
c349d50f2f
commit
b288d7051a
|
@ -563,7 +563,7 @@ async def trades_dialogue(
|
||||||
tables: dict[str, PpTable] = {}
|
tables: dict[str, PpTable] = {}
|
||||||
order_msgs: list[Status] = []
|
order_msgs: list[Status] = []
|
||||||
conf = get_config()
|
conf = get_config()
|
||||||
accounts_def_inv = conf['accounts'].inverse
|
accounts_def_inv: bidict[str, str] = bidict(conf['accounts']).inverse
|
||||||
|
|
||||||
with (
|
with (
|
||||||
ExitStack() as lstack,
|
ExitStack() as lstack,
|
||||||
|
|
Loading…
Reference in New Issue