PriceSanityAction
Documentation for eth_defi.gmx.price_sanity.PriceSanityAction Python class.
- class PriceSanityAction
Bases:
enum.EnumActions to take when price deviation exceeds threshold.
Attributes summary
Use oracle price and log warning
Use ticker price and log warning
Raise PriceSanityException to block the operation
- use_oracle_warn = 'use_oracle_warn'
Use oracle price and log warning
- use_ticker_warn = 'use_ticker_warn'
Use ticker price and log warning
- raise_exception = 'raise_exception'
Raise PriceSanityException to block the operation