Book Impact
With previous oracle price , Phoenix calculates the price impact of crossing a configured notional amount against the order book: where and are the average execution prices for selling and buying notional, respectively. The configured notional is currently and is subject to change. If one side of the book does not have enough depth for the configured notional, that side contributes0 to the impact calculation.