We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://docs.kucoin.com/#isolated-margin-borrowing
Currently only cross margin borrow calls are supported which is default method by Kucoin:
def create_borrow_order(self, currency, order_type, size, **kwargs): """ https://docs.kucoin.com/#post-borrow-order :param currency: Currency to Borrow (Mandatory) :type: str :param order_type: Type: FOK, IOC (Mandatory) :type: str :param size: Total size (Mandatory) :type: float :param kwargs: [Optional] maxRate, term :return: { "orderId": "a2111213", "currency": "USDT" } """ params = { 'currency': currency, 'type': order_type, 'size': size, } if kwargs: params.update(kwargs) return self._request('POST', '/api/v1/margin/borrow', params=params) ```
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://docs.kucoin.com/#isolated-margin-borrowing
Currently only cross margin borrow calls are supported which is default method by Kucoin:
The text was updated successfully, but these errors were encountered: