Position margin represents the current real time position margin. Thus in addition to the margin used to open the position, unrealized profit and loss (UPNL) or unrealized profits is included. The calculation of position margin differs slightly between isolated margin and cross margin.
Position Margin Equation
Isolated Margin
$$ \small\textsf{Position Margin (Isolated)} = \textsf{Initial Margin*} + \textsf{Fee to Close**} + \textsf{UPNL} $$
Cross Margin
$$ \small\textsf{Position Margin (Cross)} = \textsf{Initial Margin*} + \textsf{Fee to Close**} + \textsf{Unrealized Profit} $$
\begin{align}&\small\textsf{*Initial Margin} &&\small= {{\textsf{Quantity} \times \textsf{Multiplier}} \over {\textsf{Avg. Entry Price} \times \textsf{Leverage}}}\\\tiny\\&\small\textsf{**Taker fee to close} &&\small= {{\textsf{Quantity} \times \textsf{Multiplier}} \over \textsf{Bankruptcy Price calculated with Order Price}} \times \textsf{Taker Fee Rate}\end{align}
Comments
0 comments
Please sign in to leave a comment.