Power-Trade / api-docs

0 stars 1 forks source link

Bitmex/PowerTrade UI showing negative margin value for DOT Perpetual long trade #28

Open laisee opened 3 months ago

laisee commented 3 months ago

Bitmex/PT UI showing negative margin value for Dot Perpetual long trade in the Positions tab

See image below and comments from Mario

Screenshot 2024-03-13 at 10 20 38 am

Latest view of the Positions tab shows the same trade with positive margin.

Screenshot 2024-03-13 at 11 08 34 am
laisee commented 3 months ago

From Mario:

The number that matters is the overall margin. This is because the system uses span portfolio margin. Sometimes you’ll see individual margins being negative. This usually happens when you have offsetting positions within one asset like long btc perps and short btc calls. Developer was supposed to add a margin explanation showing how the calculation works and all the shock scenarios (9 of them). In your case I don’t see why the dot perp is giving back margin.