Why constant k are changing in my uniswap v3 pool?

Hello people, I must sound very newbie, because I am, I am still learning and trying to figure out how it all works. I wouldl be very glad if someone will correct me where I am wrong.
So, as far as I understood, X*Y=K, where x = amount of token A (eth in my case) and y = amount of token B (usdc in my case) and k = constant that must be kept equal all the time, which will result in the bounding curve and will setup the proportion of the exchange rate along the price curve.

But I tried to test it and I got different K values for the same pool. I just multiplied amount of eth that I have in the pool by the amount of usdc. I did it 2 times with time difference of 5 minutes for the same pool just to test if k will remain the same for different price pointsof eth, and it didn't. But why?

2 thoughts on “Why constant k are changing in my uniswap v3 pool?”

  1. Uniswap Reddit Auto mod post

    1. Never share your Secret Recovery Phrase with any site or person. Do not enter your Secret Recover Phrase into a pop-up window.
      Verify links are legitimate. Scammers often use these tactics.

    2. Beware of fake websites. The official website for Uniswap is https://uniswap.org/

    3. Beware of fake Twitter/X accounts. The official Twitter is https://twitter.com/Uniswap

    4. Our official Discord is https://discord.gg/D2zmtd3cUZ

    5. Uniswap Support will never DM you. We only handle support through support@uniswap.org and https://support.uniswap.org/hc/en-us/requests/new.
      Scammers use DMs to try and get access to your wallet.

    6. Do not click on suspicious links or files. This can lead to your device security being compromised.

    7. Do not “sync” or “validate” your wallet with any websites or forms. This is a scam. Never sync and share: QR Codes, Secret Recovery phrases, private keys, etc.

    8. Uniswap Labs has no plans for an airdrop, regardless of any information you may have seen elsewhere.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

  2. I think k = L * L, liquidity squared? And where did you get the values from, did you read them by hand from the uniswap GUI?

Comments are closed.