Description
Implement statistical validation of oracle price feeds including rate-of-change limits, volume-weighted checks, and anomaly detection.
Acceptance Criteria
- Max price change per update (configurable percentage)
- Volume-weighted price validation
- Z-score anomaly detection
- Validated prices flagged with confidence level
- Validation bypass for admin in emergencies
Files to Modify
- src/contracts/price_feed_adapters.rs -- add validation
- src/contracts/circuit_breaker.rs -- integrate validation
- tests/ -- validation tests
Description
Implement statistical validation of oracle price feeds including rate-of-change limits, volume-weighted checks, and anomaly detection.
Acceptance Criteria
Files to Modify