MCPcopy Create free account
hub / github.com/ccxt/ccxt / parse_transfer_status

Method parse_transfer_status

python/ccxt/async_support/phemex.py:4675–4682  ·  view source on GitHub ↗
(self, status: Str)

Source from the content-addressed store, hash-verified

4673 }
4674
4675 def parse_transfer_status(self, status: Str) -> Str:
4676 statuses = {
4677 '3': 'rejected', # 'Rejected',
4678 '6': 'canceled', # 'Got error and wait for recovery',
4679 '10': 'ok', # 'Success',
4680 '11': 'failed', # 'Failed',
4681 }
4682 return self.safe_string(statuses, status, status)
4683
4684 async def fetch_funding_rate_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
4685 """

Callers 1

parse_transferMethod · 0.95

Calls 1

safe_stringMethod · 0.80

Tested by

no test coverage detected