add margin https://www.gate.com/docs/developers/apiv4/en/#update-position-margin https://www.gate.com/docs/developers/apiv4/en/#update-position-margin-2 :param str symbol: unified market symbol :param float amount: amount of margin to add :param dic
(self, symbol: str, amount: float, params={})
| 6714 | return self.modify_margin_helper(symbol, -amount, params) |
| 6715 | |
| 6716 | def add_margin(self, symbol: str, amount: float, params={}) -> MarginModification: |
| 6717 | """ |
| 6718 | add margin |
| 6719 | |
| 6720 | https://www.gate.com/docs/developers/apiv4/en/#update-position-margin |
| 6721 | https://www.gate.com/docs/developers/apiv4/en/#update-position-margin-2 |
| 6722 | |
| 6723 | :param str symbol: unified market symbol |
| 6724 | :param float amount: amount of margin to add |
| 6725 | :param dict [params]: extra parameters specific to the exchange API endpoint |
| 6726 | :returns dict: a `margin structure <https://docs.ccxt.com/?id=margin-structure>` |
| 6727 | """ |
| 6728 | return self.modify_margin_helper(symbol, amount, params) |
| 6729 | |
| 6730 | def fetch_open_interest_history(self, symbol: str, timeframe='5m', since: Int = None, limit: Int = None, params={}): |
| 6731 | """ |
nothing calls this directly
no test coverage detected