priceimpact#
tradingstrategy.priceimpact Python module in Trading Strategy framework.
Module description#
Price impact calculations.
Classes#
Calculates the Uniswap slippage, old price and new price based on XY liquidity model. |
|
For liquidity samples, which measurement we use for a price impact. |
|
How much price impact a potential trade would have. |
Functions#
|
Calculates XY liquidity model slippage. |