Skip to content

Commit 13da224

Browse files
committed
docs: add easyautoloop comment for custom feeppm
1 parent dbb49cf commit 13da224

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

docs/autoloop.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ channel balance of 1M sats. Keep in mind that on first time use this will use
2525
the default budget parameters. If you wish to configure a custom budget you can
2626
find more info in the [Budget](#budget) section.
2727

28+
In addition, if you want to control the maximum amount of fees you're willing to
29+
spend per swap, as a percentage of the total swap amount, you can use the
30+
`feepercent` parameter as explained in the [Fees](#fees) section.
31+
2832
## Liquidity Rules
2933

3034
At present, autoloop can be configured to either acquire incoming liquidity
@@ -89,10 +93,11 @@ to a percentage of the swap amount using the fee percentage parameter:
8993
loop setparams --feepercent={percentage of swap amount}
9094
```
9195

92-
If you would like finer grained control over swap fees, there are multiple fee
93-
related settings which can be used to tune the autolooper to your preference.
94-
The sections that follow explain these settings in detail. Note that these fees
95-
are expressed on a per-swap basis, rather than as an overall budget.
96+
If you are not using easyautoloop and you would like finer grained control over
97+
swap fees, there are multiple fee related settings which can be used to tune the
98+
autolooper to your preference. The sections that follow explain these settings
99+
in detail. Note that these fees are expressed on a per-swap basis, rather than
100+
as an overall budget.
96101

97102
### On-Chain Fees
98103
When performing a successful loop out swap, the loop client needs to sweep the

0 commit comments

Comments
 (0)