Withdraw liquidity
Last updated
Last updated
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 provide liquidity.
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:
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 Providing Liquidity)
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.
The hedge positions are the call or puts you sold in Step 10 of providing liquidity.
If you withdraw liquidity before a market expires:
These positions should be closed.
If you withdraw liquidity before a market expires:
These positions should be exercised.
You can calculate your profit and loss from liquidity provision in the following manner:
Total profit or loss = Amount Received (Step 4) - Total Cost (Step 5 in 'Providing liquidity')
Your chances of getting a high profit will be increased by purchasing a hedging instrument at Charm (in step 10 in 'Providing liquidity'), and only deposit in small amounts (in step 5 in 'Providing liquidity').