MCPcopy Create free account
hub / github.com/sammchardy/python-binance / create_margin_order

Method create_margin_order

binance/async_client.py:1274–1279  ·  view source on GitHub ↗
(self, **params)

Source from the content-addressed store, hash-verified

1272 repay_margin_loan.__doc__ = Client.repay_margin_loan.__doc__
1273
1274 async def create_margin_order(self, **params):
1275 if "newClientOrderId" not in params:
1276 params["newClientOrderId"] = self.SPOT_ORDER_PREFIX + self.uuid22()
1277 return await self._request_margin_api(
1278 "post", "margin/order", signed=True, data=params
1279 )
1280
1281 create_margin_order.__doc__ = Client.create_margin_order.__doc__
1282

Callers

nothing calls this directly

Calls 2

_request_margin_apiMethod · 0.95
uuid22Method · 0.80

Tested by

no test coverage detected