PriceSanityCheckConfig
Documentation for eth_defi.gmx.price_sanity.PriceSanityCheckConfig Python class.
- class PriceSanityCheckConfig
Bases:
objectConfiguration for price sanity checks.
Attributes summary
enabledthreshold_percentactionMethods summary
__init__([enabled, threshold_percent, action])- __init__(enabled=True, threshold_percent=0.03, action=PriceSanityAction.use_oracle_warn)
- Parameters
enabled (bool) –
threshold_percent (float) –
action (eth_defi.gmx.price_sanity.PriceSanityAction) –
- Return type
None