@@ -23,27 +23,35 @@ Note that autoloop parameters and rules are not persisted, so must be set on
2323restart. We recommend running loopd with ` --debuglevel=debug ` when using this
2424feature.
2525
26- ### Channel Thresholds
27- To setup the autolooper to dispatch swaps on your behalf, you need to tell it
28- which channels you would like it to perform swaps on, and the liquidity balance
29- you would like on each channel. Desired liqudity balance is expressed using
30- threshold incoming and outgoing percentages of channel capacity. The incoming
31- threshold you specify indicates the minimum percentage of your channel capacity
32- that you would like in incoming capacity. The outgoing thresold allows you to
33- reserve a percentage of your balance for outgoing capacity, but may be set to
34- zero if you are only concerned with incoming capcity.
35-
36- The autolooper will perform swaps that push your incoming channel capacity to
37- at least the incoming threshold you specify, while reserving at least the
38- outgoing capacity threshold. Rules can be set as follows:
26+ ### Liquidity Targets
27+ Autoloop can be configured to manage liquidity for individual channels, or for
28+ a peer as a whole. Peer-level liquidity management will examine the liquidity
29+ balance of all the channels you have with a peer. This differs from channel-level
30+ liquidity, where each channel's individual balance is checked. Note that if you
31+ set a liquidity rule for a peer, you cannot also set a specific rule for one of
32+ its channels.
33+
34+ ### Liqudity Thresholds
35+ To setup the autolooper to dispatch swaps on your behalf, you need to set the
36+ liquidity balance you would like for each channel or peer. Desired liquidity
37+ balance is expressed using threshold incoming and outgoing percentages of
38+ capacity. The incoming threshold you specify indicates the minimum percentage
39+ of your capacity that you would like in incoming capacity. The outgoing
40+ threshold allows you to reserve a percentage of your balance for outgoing
41+ capacity, but may be set to zero if you are only concerned with incoming
42+ capacity.
43+
44+ The autolooper will perform swaps that push your incoming capacity to at least
45+ the incoming threshold you specify, while reserving at least the outgoing
46+ capacity threshold. Rules can be set as follows:
3947
4048```
41- loop setrule {short channel id} --incoming_threshold={minimum % incoming} --outgoing_threshold={minimum % outgoing}
49+ loop setrule {short channel id/ peer pubkey } --incoming_threshold={minimum % incoming} --outgoing_threshold={minimum % outgoing}
4250```
4351
44- To remove a channel from consideration, its rule can simply be cleared:
52+ To remove a rule from consideration, its rule can simply be cleared:
4553```
46- loop setrule {short channel id} --clear
54+ loop setrule {short channel id/ peer pubkey } --clear
4755```
4856
4957## Fees
0 commit comments