102: EMC Perps: show liquidation risk and account health
This commit is contained in:
@@ -27,3 +27,10 @@ The overview SHALL preserve size basis, use post-fee USD collateral and price Pn
|
||||
#### Scenario: Nonpositive collateral
|
||||
- **WHEN** a position's collateral is zero or negative
|
||||
- **THEN** its leverage and PnL percentage are unavailable
|
||||
|
||||
### Requirement: Report venue risk prices with observation time
|
||||
The overview SHALL expose the venue reference and liquidation prices in exact USD units with the original response observation time. Missing or nonpositive risk prices SHALL be unavailable, never zero safety or infinite distance. Stable position identity and the separate transaction/alarm read path SHALL remain unchanged.
|
||||
|
||||
#### Scenario: Missing or sentinel price
|
||||
- **WHEN** a valid position has no actionable liquidation price
|
||||
- **THEN** its other metrics remain present and its liquidation distance is unavailable
|
||||
|
||||
Reference in New Issue
Block a user