From 13da22428c2891c54dec519df62c680d1d07424c Mon Sep 17 00:00:00 2001 From: George Tsagkarelis Date: Wed, 14 Jun 2023 14:13:16 +0300 Subject: [PATCH] docs: add easyautoloop comment for custom feeppm --- docs/autoloop.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/autoloop.md b/docs/autoloop.md index b8d8abe..7bfecad 100644 --- a/docs/autoloop.md +++ b/docs/autoloop.md @@ -25,6 +25,10 @@ channel balance of 1M sats. Keep in mind that on first time use this will use the default budget parameters. If you wish to configure a custom budget you can find more info in the [Budget](#budget) section. +In addition, if you want to control the maximum amount of fees you're willing to +spend per swap, as a percentage of the total swap amount, you can use the +`feepercent` parameter as explained in the [Fees](#fees) section. + ## Liquidity Rules 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: loop setparams --feepercent={percentage of swap amount} ``` -If you would like finer grained control over swap fees, there are multiple fee -related settings which can be used to tune the autolooper to your preference. -The sections that follow explain these settings in detail. Note that these fees -are expressed on a per-swap basis, rather than as an overall budget. +If you are not using easyautoloop and you would like finer grained control over +swap fees, there are multiple fee related settings which can be used to tune the +autolooper to your preference. The sections that follow explain these settings +in detail. Note that these fees are expressed on a per-swap basis, rather than +as an overall budget. ### On-Chain Fees When performing a successful loop out swap, the loop client needs to sweep the