Expand description
Pluggable margin calculation models for MarginAccount.
Structs§
- Leveraged
Margin Model - Divides notional value by leverage before applying margin rates.
- Standard
Margin Model - Uses fixed margin percentages without leverage division.
Enums§
- Margin
Model Any - Enum dispatch for
MarginModelimplementations.
Traits§
- Margin
Model - Determines how margin requirements are calculated for leveraged positions.