add margin :param str symbol: unified market symbol :param float amount: amount of margin to add :param dict [params]: extra parameters specific to the exchange API endpoint :returns dict: a `margin structure `
(self, symbol: str, amount: float, params={})
| 2959 | return self.modify_margin_helper(symbol, -amount, 'reduce', params) |
| 2960 | |
| 2961 | def add_margin(self, symbol: str, amount: float, params={}) -> MarginModification: |
| 2962 | """ |
| 2963 | add margin |
| 2964 | :param str symbol: unified market symbol |
| 2965 | :param float amount: amount of margin to add |
| 2966 | :param dict [params]: extra parameters specific to the exchange API endpoint |
| 2967 | :returns dict: a `margin structure <https://docs.ccxt.com/?id=margin-structure>` |
| 2968 | """ |
| 2969 | return self.modify_margin_helper(symbol, amount, 'add', params) |
| 2970 | |
| 2971 | def set_leverage(self, leverage: int, symbol: Str = None, params={}): |
| 2972 | """ |
nothing calls this directly
no test coverage detected