Weighted Median Aggregation

Algorithm

Weighted Median Aggregation represents a robust statistical technique employed to synthesize price data from multiple sources, particularly relevant in decentralized cryptocurrency exchanges and options markets where data fragmentation and latency are prevalent. It calculates the median value, but assigns weights to each data point based on factors like source reliability, liquidity, or timestamp proximity to the current time, mitigating the influence of outliers and stale data. This approach offers enhanced resilience against market manipulation and improves the accuracy of derived metrics such as fair market value and order book construction, crucial for algorithmic trading and risk management. The weighting scheme can be dynamically adjusted to reflect evolving market conditions and source credibility, providing a flexible framework for price discovery.