Position size is showing me the wrong info in testnet
Closed this issue · 3 comments
Sandeep-Narahari commented
Sandeep-Narahari commented
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".
Sandeep-Narahari commented
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