retrieves data on all markets for pacifica :param dict [params]: extra parameters specific to the exchange API endpoint :returns dict[]: an array of objects representing market data
(self, params={})
| 416 | return True |
| 417 | |
| 418 | async def fetch_markets(self, params={}) -> List[Market]: |
| 419 | """ |
| 420 | retrieves data on all markets for pacifica |
| 421 | :param dict [params]: extra parameters specific to the exchange API endpoint |
| 422 | :returns dict[]: an array of objects representing market data |
| 423 | """ |
| 424 | if self.check_required_credentials(False): |
| 425 | await self.initialize_client() |
| 426 | await self.load_account_settings() |
| 427 | swapMarkets = await self.fetch_swap_markets(params) |
| 428 | return swapMarkets |
| 429 | |
| 430 | async def fetch_swap_markets(self, params={}) -> List[Market]: |
| 431 | """ |
nothing calls this directly
no test coverage detected