v3
latestOpenAPI 3.0.02026-07-311784111.3 MBTrading
Private
Retrieves the initial margin requirements for one or more orders identified by their order IDs. Initial margin is the amount of funds required to open a position with these orders.
This method is useful for calculating margin requirements before placing orders, helping to ensure sufficient funds are available.
Scope: trade:read
get/private/get_order_margin_by_ids
Query parameters
idsstring[] required
Ids of orders
[ "ETH-349280", "ETH-349279", "ETH-349278" ]
Response
Success response
Example response
{
"result": [
{
"order_id": "ETH-100234"
}
]
}