Margin State Field
Extracts one field from a margin state value.
Extracts one field from a margin state value.
When to use
Use it when a comparison or message needs a scalar margin measure from Leverage Monitor.
Example
Extract a margin ratio and compare it with an additional threshold.
Compare fields with their units
Connect a Margin State payload from the supporting Tactical margin-monitoring path and select one field. Margin Used and Margin Available are amounts; Current Leverage is a ratio; Liquidation Price is a price level; Timestamp is a time. For an illustrative state with 300 used and 500 available, do not compare the number 300 with a leverage threshold of 2 as though they shared a unit. Choose the field that matches the downstream Condition and confirm that the state belongs to the same run and instrument context.
Common problems
Choose a field that is present in the connected state. Keep control handling for warning and liquidation-risk outcomes separate.
Next steps
Review the generated Parameters, Outcomes, and Data Ports on this page, then open the related guides for the complete workflow.