add get_mkt_pairs method

jsonrpc_err_in_rent_task
Nelson Torres 2024-11-08 21:47:24 +00:00
parent 71f3a0a4cd
commit 960298514c
1 changed files with 7 additions and 0 deletions

View File

@ -328,6 +328,13 @@ class Client:
tx_tick=tx_tick)
return assets
async def get_mkt_pairs(self) -> dict[str, Pair]:
flat: dict[str, Pair] = {}
for key in self._pairs:
item = self._pairs.get(key)
flat[item.bs_fqme] = item
return flat
async def submit_limit(
self,