(self, reload=False, params={})
| 1038 | return await self.fetch2(path, api, method, params, headers, body, config) |
| 1039 | |
| 1040 | async def load_accounts(self, reload=False, params={}): |
| 1041 | if reload: |
| 1042 | self.accounts = await self.fetch_accounts(params) |
| 1043 | else: |
| 1044 | if self.accounts: |
| 1045 | return self.accounts |
| 1046 | else: |
| 1047 | self.accounts = await self.fetch_accounts(params) |
| 1048 | self.accountsById = self.index_by(self.accounts, 'id') |
| 1049 | return self.accounts |
| 1050 | |
| 1051 | async def edit_limit_buy_order(self, id: str, symbol: str, amount: float, price: Num = None, params={}): |
| 1052 | return await self.edit_limit_order(id, symbol, 'buy', amount, price, params) |
no test coverage detected