Charm Finance
  • Charm Overview
    • The mission
  • Products Overview
    • Alpha Vaults
      • Whitepaper
      • FAQ
    • Charm Simulator
  • Provide Liquidity
    • Overview
    • The Benefits
    • Risks and Mitigants
    • Charm Vaults
    • Community Vaults
    • Conclusion
    • Fees
    • FAQ
    • User Guides
      • Home Page
      • Depositing and Withdrawing
      • Vault Information Page
      • Performance Page
      • Portfolio Page
  • Manage Liquidity
    • Overview
    • The Benefits
    • Challenges and Solution
    • Uses Cases
    • How it works
    • Risks and mitigants
    • Conclusion
    • Fees
    • FAQ
    • User Guides
      • Create Vault
        • Default Values
        • Next Steps
      • Vault Parameters
      • Rebalancing
      • Verifying Vaults
      • Capital Efficiency
      • Other Features
      • Best Practices
      • Walkthroughs
        • Create Vault
        • Edit Vault
        • Automating Rebalance
        • Verify Manager
  • Technical References
    • Overview
    • Core
      • AlphaProVault
      • AlphaProVaultFactory
      • CloneFactory
      • Interfaces
    • Periphery
    • Error Codes
    • Contract Addresses
    • Subgraph
  • Links
    • Alpha Vaults v2
    • Contracts
    • Blog
  • Appendix
    • Glossary
    • Audit Reports
    • Team
    • Charm's Investors
    • 中文版
  • Research
    • Medallion
      • Whitepaper
      • FAQ
      • Decentralised competition
  • Previous Products
    • Alpha Vaults v1
    • Charm Options
      • Key Features
        • Capital Efficiency
      • Use Cases
      • How trading works
      • How liquidity provision works
      • Trading Tutorials
        • Open a position
          • Notes
        • Close a position
        • Settlement
      • Liquidity Provision Tutorials
        • Provide liquidity
        • Withdraw Liquidity
    • Cube Tokens
      • How it works
Powered by GitBook
On this page
  1. Previous Products
  2. Charm Options
  3. Liquidity Provision Tutorials

Withdraw Liquidity

PreviousProvide liquidityNextCube Tokens

Last updated 1 year ago

You can withdraw liquidity at any time to realise any gains or losses. The following are the steps required to withdraw liquidity:

Step 1. To withdraw liquidity, you first need to .

The liquidity provided must be withdraw when a market expires, and re-deposited into a new market when it opens.

Charm is currently working on a vault where liquidity can be automatically rolled over to new markets, so LPs do not need to manually withdraw and re-deposit.

Step 2. Connect your Metamask wallet and go to 'Pools':

Step 3. Your LP tokens will be displayed in 'Active pools':

Step 4. Click 'Withdraw' to withdraw liquidity. The amount received will be displayed in the following page:

Step 5. Click 'Withdraw ETH' to withdraw liquidity, and receive the amount described in above. The following will appear in Metamask:

This shows the maximum gas fees to close a position is 0.029358.

The amount '0' indicates no money is sent from your wallet to the Blockchain, because you are actually receiving money from the Blockchain. The amount you will receive (before gas fees) is 0.007283 ETH, for a gross profit (before gas fees) of 0 ETH because Amount received = Amount received = 0.007283.

Step 5. Click confirm if you wish to proceed.

Step 6. Charm will show the transaction is 'pending':

Step 7. When your transaction have been executed on the Blockchain, you will received the following confirmation from Metamask:

Step 8. Click on the above to view and check your transaction on Etherscan:

From the above, you can check the following details of your transaction:

  • The amount received should be the same as Step 4.

  • The LP shares you returned should be the same as Step 4.

  • The final gas fee should be lower than the Metamask estimate in step 5.

Step 9. Close or exercise your hedge positions.

If you withdraw liquidity before a market expires:

If you withdraw liquidity before a market expires:

Congratulations! You have now withdrawn liquidity.

You can calculate your profit and loss from liquidity provision in the following manner:

This page can also be used to determine your profit or loss (before gas fees) from liquidity provision. This is equal to Amount received - Total cost (described in Step 8 in )

The hedge positions are the call or puts you sold in Step 10 of .

These .

These positions should be .

Total profit or loss = Amount Received (Step 4) - Total Cost (Step 5 in '')

Your chances of getting a high profit will be increased by purchasing a hedging instrument at Charm (in step 10 in ''), and only deposit in small amounts (in step 5 in '').

Providing Liquidity
providing liquidity
positions should be closed
exercised
Providing liquidity
Providing liquidity
Providing liquidity
provide liquidity