ib.broker: load account name map as a `bidict` (no `tomlkit` support)

master
Tyler Goodlet 2023-05-13 16:44:28 -04:00
parent c349d50f2f
commit b288d7051a
1 changed files with 1 additions and 1 deletions

View File

@ -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,