Rekt'ed But how #126
Replies: 2 comments 1 reply
-
@zouhairstitou could you please let me know what public key you used? |
Beta Was this translation helpful? Give feedback.
-
Hi @zouhairstitou, thanks for reporting, so I've had a bit of a dig and it looks like the closeout at that level is pretty expected given the market parameters. I was slightly suspicious as the closeout happened just after an auction and a large few closeouts but it all seems to make sense. By way of calculations: Margin calculation spec lives here but what we care about is the maintenance margin for short positions which is:
I don't know exactly what the slippage was at the time, but assuming it was fairly small and we reach the same result, so we can drop that term and we end up with
where If we plug in our known values we get From what I can see, this all ties together, but let me know if anything seems non-obvious or doesn't make sense to you! |
Beta Was this translation helpful? Give feedback.
-
I entered a short at 29450.
I had collateral of ~14500
At 30240 i was liquidated.
AT the exit, i was about 800 usdc in red.
Leveraged 10x
SO to cover the difference is 8000 needed.
tx fees are about 350 ussdc.
Provoding the exit settlement price is 30240. How come i got rekt and where is the ~6150+ difference.
Beta Was this translation helpful? Give feedback.
All reactions