Book Impact
With previous oracle priceS, Phoenix calculates the price impact of crossing a configured notional amount against the order book:
Book Impact Price = max(ImpactBid - S, 0) - max(S - ImpactAsk, 0)
where ImpactBid and ImpactAsk are the average execution prices for selling and buying $1000 notional, respectively. The configured notional is currently $1000 and is subject to change.
If one side of the book does not have enough depth for the configured notional, that side contributes 0 to the impact calculation.