Skip to content

Commit a4d0fbd

Browse files
committed
chore: update documentation
1 parent b8f4006 commit a4d0fbd

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/uv4/liquidity.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ def calculate_position_holdings(
2727
price_lower: Decimal,
2828
):
2929
"""
30-
is_position_inrange - is position in range
31-
liquidity - the liquidity in the pool
32-
p - the current price
33-
p_upper - the price of the upper bound tick
34-
p_lower - the price of the lower bound tick
30+
position_liquidity - the liquidity of user's position
31+
price - the current price of pool
32+
price_upper - the price of the upper bound tick of user's position
33+
price_lower - the price of the lower bound tick of user's position
3534
"""
3635
token0, token1 = 0, 0
3736
is_in_range = price_lower <= price < price_upper

0 commit comments

Comments
 (0)