mrgnlabs / marginfi-v2

Apache License 2.0
147 stars 61 forks source link

Liquidation pricing improvements #130

Closed jkbpvsc closed 9 months ago

jkbpvsc commented 9 months ago

Currently liquidators often lose money bc we price liquidations with an ema (which is often lagging). We should use a non weighted price (non-ema) for pricing liquidations with price bands.