Margin Watch

Method Name


Calculates MtM and maintenance margin for a given subaccount.


subaccount_id integer required
Subaccount ID to get margin for.


id string or integer required
result object required
result.currency string required
Currency of subaccount
result.maintenance_margin string required
Total maintenance margin requirement of all positions and collaterals.If this value falls below zero, the subaccount will be flagged for liquidation.
result.margin_type string required
Margin type of subaccount (PM (Portfolio Margin) or SM (Standard Margin))
enum PM SM
result.subaccount_id integer required
result.subaccount_value string required
Total mark-to-market value of all positions and collaterals
result.valuation_timestamp integer required
Timestamp (in seconds since epoch) of when margin and MtM were computed.



The above command returns JSON structured like this: