Skip to content

add max swap size for liquidator #68

@wphan

Description

@wphan

to prevent unnecessary price impact in illiquid spot markets (i.e. wbtc, weth), add a field to the config to limit the size of individual swaps.

additionally:

  • enable twap for specific markets
  • be 'price impact' or 'slippage from oracle' aware. Currently maxSlippageBps in the config is jupiter slippage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions