Step 6
Last updated
Last updated
Following Alice, Bob also uses 100 USDC to open a long position with 2x leverage. His position size will be 1.88 AVAX (98.04-96.15) as calculated by the vAMM.
After Bob gets his long position, Alice decides to close her position and realizes a profit of 7.84 USDC (10400 - 96.15*10,400/(96.15+1.96)- 200)
Seeing Alice makes a profit, Bob wants to close his position too, only to find out that he lost -7.84 USDC (10192.16-98.115*10192.16 / (98.115+1.885) - 200) after closing his position.