public/margin_watch
Calculates the mark-to-market value and initial/maintenance margin for a given subaccount, with per-position and per-collateral breakdowns, computed from live feed data at request time. Margins are reported on the margin basis actually in effect: when a delayed-liquidation override is active the response’s is_delayed_liquidation flag is true and the reported margins use the temporarily lowered requirements. A maintenance margin below zero means the subaccount is flagged for liquidation.
Body
x >= 0Response
Success
Result of public/margin_watch: the margin state a liquidation watcher needs, computed on the margin basis actually in effect (a delayed- liquidation override, when installed, is already applied).
true when a delayed-liquidation margin override is active, i.e. the margins above are computed on the temporarily lowered basis.
Below zero the subaccount is flagged for liquidation.
x >= 0x >= 0Unix seconds at which margin and MtM were computed.
