gmx-io/gmx-interface

Position size is showing me the wrong info in testnet

Closed this issue · 3 comments

image

for leverage 10 it has to be 16*10 right but its showing the wrong info

Note : I am runing in local @xdev10

xhiroz commented

The screenshot seems correct, check applicable fees to the Pay token under "Fees and Price Impact".

Could you give me the formula how to calculate size delta usd

i am calculating it as = leverage * eth price in usd (paying amount )* 10**12

I think we need to substract price imapact fees , don't know how to calculate it

could you please help me out
Thank you