PriceImpactParams
Documentation for eth_defi.gmx.market_depth.PriceImpactParams Python class.
- class PriceImpactParams
Bases:
objectPer-market price impact parameters read from the GMX DataStore contract.
All factor and exponent values use GMX’s 30-decimal fixed-point format (integers). Pass them directly to
estimate_position_price_impact().Attributes summary
positive_factornegative_factorpositive_exponentnegative_exponentmax_positive_factormax_negative_factorMethods summary
__init__(positive_factor, negative_factor, ...)- __init__(positive_factor, negative_factor, positive_exponent, negative_exponent, max_positive_factor, max_negative_factor)