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

Method parse_margin_modification

python/ccxt/hyperliquid.py:3709–3726  ·  view source on GitHub ↗
(self, data: dict, market: Market = None)

Source from the content-addressed store, hash-verified

3707 })
3708
3709 def parse_margin_modification(self, data: dict, market: Market = None) -> MarginModification:
3710 #
3711 # {
3712 # 'type': 'default'
3713 # }
3714 #
3715 return {
3716 'info': data,
3717 'symbol': self.safe_symbol(None, market),
3718 'type': None,
3719 'marginMode': 'isolated',
3720 'amount': None,
3721 'total': None,
3722 'code': self.safe_string(market, 'settle'),
3723 'status': None,
3724 'timestamp': None,
3725 'datetime': None,
3726 }
3727
3728 def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
3729 """

Callers 1

modify_margin_helperMethod · 0.95

Calls 2

safe_symbolMethod · 0.80
safe_stringMethod · 0.80

Tested by

no test coverage detected