marginAssetValueobject·required
The total value of all assets available in the margin account that can contribute to funding positionsmarginAssetValue.currencystring·required
The currency code (e.g., "USD", "BTC", "ETH")Example: USDmarginAssetValue.valuestring (decimal)·required
The amount in the specified currencyExample: 10000.00availableCollateralobject·required
The amount of collateral available for new positions or withdrawalsavailableCollateral.currencystring·required
The currency code (e.g., "USD", "BTC", "ETH")Example: USDavailableCollateral.valuestring (decimal)·required
The amount in the specified currencyExample: 10000.00notionalValueobject·required
The total value of all open positionsnotionalValue.currencystring·required
The currency code (e.g., "USD", "BTC", "ETH")Example: USDnotionalValue.valuestring (decimal)·required
The amount in the specified currencyExample: 10000.00totalBorrowedobject·required
The total amount currently borrowed across all currenciestotalBorrowed.currencystring·required
The currency code (e.g., "USD", "BTC", "ETH")Example: USDtotalBorrowed.valuestring (decimal)·required
The amount in the specified currencyExample: 10000.00leveragestring (decimal)·required
The current leverage ratio (notionalValue / marginAssetValue)Example: 1.5buyingPowerobject·required
The maximum value that can be purchased with available collateralbuyingPower.currencystring·required
The currency code (e.g., "USD", "BTC", "ETH")Example: USDbuyingPower.valuestring (decimal)·required
The amount in the specified currencyExample: 10000.00sellingPowerobject·required
The maximum value that can be sold with available collateralsellingPower.currencystring·required
The currency code (e.g., "USD", "BTC", "ETH")Example: USDsellingPower.valuestring (decimal)·required
The amount in the specified currencyExample: 10000.00liquidationRiskobject
Liquidation risk information (only present if positions exist)liquidationRisk.lossPercentagestring (decimal)·required
The percentage loss from current value that would trigger liquidation, formatted as decimal (e.g., "0.1550" = 15.50%)Example: 0.1550liquidationRisk.liquidationPriceobject
The estimated price at which liquidation would occur (optional, may not be present for all positions)liquidationRisk.liquidationPrice.currencystring·required
The currency code (e.g., "USD", "BTC", "ETH")Example: USDliquidationRisk.liquidationPrice.valuestring (decimal)·required
The amount in the specified currencyExample: 10000.00interestRateobject
Current interest rate on borrowed amounts (only present if borrows exist)interestRate.ratestring (decimal)·required
The interest rate as a decimal stringExample: 0.00001141552511interestRate.intervalstring·enum·required
The time interval for the rate (currently only "hour" is supported)Enum values: hourExample: hourreservedBuyOrdersobject·required
Collateral reserved for open buy ordersreservedBuyOrders.currencystring·required
The currency code (e.g., "USD", "BTC", "ETH")Example: USDreservedBuyOrders.valuestring (decimal)·required
The amount in the specified currencyExample: 10000.00reservedSellOrdersobject·required
Collateral reserved for open sell ordersreservedSellOrders.currencystring·required
The currency code (e.g., "USD", "BTC", "ETH")Example: USDreservedSellOrders.valuestring (decimal)·required
The amount in the specified currencyExample: 10000.00{
"marginAssetValue": {
"currency": "USD",
"value": "10000.00"
},
"availableCollateral": {
"currency": "USD",
"value": "8500.00"
},
"notionalValue": {
"currency": "USD",
"value": "15000.00"
},
"totalBorrowed": {
"currency": "USD",
"value": "5000.00"
},
"leverage": "1.5",
"buyingPower": {
"currency": "USD",
"value": "8500.00"
},
"sellingPower": {
"currency": "USD",
"value": "8500.00"
},
"liquidationRisk": {
"lossPercentage": "0.1550",
"liquidationPrice": {
"currency": "USD",
"value": "50000.00"
}
},
"interestRate": {
"rate": "0.00001141552511",
"interval": "hour"
},
"reservedBuyOrders": {
"currency": "USD",
"value": "1000.00"
},
"reservedSellOrders": {
"currency": "USD",
"value": "500.00"
}
}