# Increase exchange fee in LLAMMa AMM

**URL:** <http://gov.curve.finance/t/increase-exchange-fee-in-llamma-amm/9991>\
**Category:** Proposals\
**Created:** [March 9, 2024, 9:52am UTC](http://gov.curve.finance/t/increase-exchange-fee-in-llamma-amm/9991 "2024-03-09T09:52:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michwill](http://gov.curve.finance/letter_avatar_proxy/v4/letter/m/8e8cbc/32.png) [@michwill](http://gov.curve.finance/u/michwill)\
**Post date:** [March 9, 2024, 9:52am UTC](http://gov.curve.finance/t/increase-exchange-fee-in-llamma-amm/9991/1 "2024-03-09T09:52:01Z")

</div>

**Summary** :

Gas fees become pretty large lately. That translates into soft-liquidation losses in LLAMMa (crvUSD). I propose to increase AMM exchange fee there to 1.9% (reasoning for the number explained below).

**Specification** :

Band prices for neighboring bands are determined as `p_{n+1} / p_n = (A - 1) / A`. Or, band size can be seen as `1 - (A - 1) / A` (1% in our case).

However, this only determines prices when `price_oracle = current_price`. If we fix the oracle price as constant, size of the band will actually be `1 - ((A - 1) / A)^2` (which is `1.99%` for our `A=100` case).

We want to raise fee to compensate for losses due to arb traders paying gas. It is, however, not good to have current band being from what it _should_ be by more than 1 band. Therefore, I propose to increase the AMM fee to `1.9%` which is slightly less than `price_oracle=const` size of the band around `2%`.

It is important to verify that theoretical losses don’t increase much from it. I attach simulation results for losses vs fee for ETH without gas price being taken into account. Fee is suboptimal for “zero gas” environment but more appropriate for realistic Ethereum. Parameters of the markets can stay the same with such an adjustment.

 ![1_fee](https://gov.curve.finance/uploads/default/original/2X/9/9dc21cd103c401aa42c1a2d5ffbcda767a013f10.png)
