**Entry or Average Entry Price**

### Entry Price

The entry price is the price at which the trader opens the position.

In other words, if you have 5000 BTC/USDT contracts at 10,000 USDT, the entry price will be 10,000 USDT.

### Average Entry Price

Average Entry Price is the average price the trader entered their position.

### Average Entry Price Equation (Inverse Contract)

$$\small\textsf{Average Entry Price}={{\textsf{Total Quantity}\over\textsf{Total Entered Position Value}}}$$

$$ \small \textsf{Total Entered Position Value} = {{\textsf{Entered Quantity #1}\over\textsf{Entry Price #1}}}+{\textsf{Entered Quantity #2}\over\textsf{Entry Price #2}} + {\textsf{....}}+{\textsf{Entered Quantity #n}\over\textsf{Entry Price #n}}$$

<Average Entry Price Example>

Bob enters into a position of 100 BTC/USDT contracts at 10,000 USDT and then adds another 100 BTC/USDT contracts at 12,000 USDT. At this point in time, Bob’s average entry price of his current position is as follows.

$$ \small \textsf{Total Entered Position Value} = {\textsf{100}\over\textsf{10000}}+{\textsf{100}\over\textsf{12000}} = \textsf{0.01833333 BTC}$$

$$ \small \textsf{Average Entry Price} = {\textsf{200}\over\textsf{0.01833333}} =\textsf{10,909.09289256 USDT}$$

**Exit (Close) Price or Average Exit Price**

### Exit (Close) Price

The exit price is the price at which the trader closes the position.

In other words, if a trader closed 5000 BTC/USDT contracts at 10,000 USDT, the position's exit price is 10,000 USDT.

### Average Exit Price

The average exit price is the average price at which the contracts of the current position is closed.

### Average Exit Price Equation (Inverse Contract)

$$\small\textsf{Average Exit Price}={{\textsf{Total Quantity}\over\textsf{Total Exited Position Value}}}$$

$$ \small \textsf{Total Exited Position Value} = {{\textsf{Exit Quantity #1}\over\textsf{Exit Price #1}}}+{\textsf{Exit Quantity #2}\over\textsf{Exit Price #2}} + {\textsf{....}}+{\textsf{Exit Quantity #n}\over\textsf{Exit Price #n}}$$

<Average Entry Price Example>

Bob exits 60 BTC/USDT contracts of 100 BTC/USDT contracts that he owns at 9,000 USDT and closes the rest (40 BTC/USDT contracts) at 8,500 USDT. At this point in time, Bob’s average exit price is as follows.

$$ \small \textsf{Total Exited Position Value} = {\textsf{60}\over\textsf{9000}}+{\textsf{40}\over\textsf{8500}} = \textsf{0.01137254 BTC}$$

$$ \small \textsf{Average Exit Price} = {\textsf{100}\over\textsf{0.01137254}} =\textsf{8,793.11042212 USDT}$$

**Realized/Unrealized Profit and Loss**

**Realized Profit and Loss (RPNL)** is the actual profit or loss that occurs after closing a position and is calculated based on the trader's average closing price and average opening price.

**Unrealized Profit and Loss (UPNL)** is the sum of PNLs of positions that the trader did not close. Thus the current profit or loss of the position. UPNL is calculated based on market prices (Mark Price and Last Traded Price) and position average opening price.

UPNL can be found in the trader's "Position" tab as shown below. If the icon next to Unrealized PNL shows M→L, the UPNL is based on the Mark Price. On the other hand, if the icon shows L→M, the UPNL is based on the Last Traded Price. Traders can set the default UPNL for the type they wish to view their UPNL by clicking on the icon.

### RPNL Equation - Long Position

$$ \small\textsf{RPNL} = ({{1 \over \textsf{Avg. Entry Price}} - {1 \over \textsf{Avg. Exit Price}}}) \times \textsf{Quantity} $$

<RPNL Example - Long Position>

David is long 10,000 contracts when BTC is 5,000 USDT. He decides to close all 10,000 contracts when BTC is 10,000 USDT.

\begin{align} \small \textsf{RPNL} = ({{\textsf{1} \over \textsf{5,000}} - {\textsf{1} \over \textsf{10,000}}}) \times \textsf{10,000} = \small\textsf{1 BTC}\end{align}

### RPNL Equation - Short Position

$$ \small\textsf{RPNL} = ({{1 \over \textsf{Avg. Exit Price}} - {1 \over \textsf{Avg. Entry Price}}}) \times \textsf{Quantity} $$

<RPNL Example - Short Position>

David is short 10,000 contracts when BTC is 5,000 USDT. He decides to close all 10,000 contracts when BTC is 4,000 USDT.

\begin{align} \small \textsf{RPNL} = ({{\textsf{1} \over \textsf{4,000}} - {\textsf{1} \over \textsf{5,000}}}) \times \textsf{10,000} = \textsf{0.5 BTC} \end{align}

### UPNL Equation (Last Traded Price) - Long Position

$$ \small\textsf{UPNL} = ({{1 \over \textsf{Avg. Entry Price}} - {1 \over \textsf{Last Traded Price}}}) \times \textsf{Quantity} $$

<UPNL Example (Last Traded Price) - Long Position>

David is long 10,000 contracts when BTC is 5,000 USDT. The BTC/USDT last traded price reaches 8,000 USDT.

\begin{align}\small \textsf{UPNL} = ({{\textsf{1} \over \textsf{5,000}} - {\textsf{1} \over \textsf{8,000}}}) \times \textsf{10,000} = \textsf{0.75 BTC} \end{align}

### UPNL Equation (Last Traded Price) - Short Position

$$ \small\textsf{UPNL} = ({{1 \over \textsf{Last Traded Price}} - {1 \over \textsf{Avg. Entry Price}}}) \times \textsf{Quantity} $$

<UPNL Example (Last Traded Price) - Short Position>

David is short 10,000 contracts when BTC is 5,000 USDT. The BTC/USDT last traded price reaches BTC = 4,000 USDT

\begin{align} \small\textsf{UPNL} = ({{\textsf{1} \over \textsf{4,000}} - {\textsf{1} \over \textsf{5,000}}}) \times \textsf{10,000} = \textsf{0.5 BTC} \end{align}

### UPNL Equation (Mark Price) - Long Position

$$ \small\textsf{UPNL} = ({{1 \over \textsf{Avg. Entry Price}} - {1 \over \textsf{Mark Price}}}) \times \textsf{Quantity} $$

<UPNL Example (Mark Price) - Long Position>

David is long 10,000 contracts when BTC is 5,000 USDT. The BTC/USDT mark price reaches 8,000 USDT.

\begin{align} \small\textsf{UPNL} = ({{\textsf{1} \over \textsf{5,000}} - {\textsf{1} \over \textsf{8,000}}}) \times \textsf{10,000} = \textsf{0.75 BTC} \end{align}

### UPNL Equation (Mark Price) - Short Position

$$ \small\textsf{UPNL} = ({{1 \over \textsf{Mark Price}} - {1 \over \textsf{Avg. Entry Price}}}) \times \textsf{Quantity}$$

<UPNL Example (Mark Price) - Short Position>

David is short 10,000 contracts when BTC is 5,000 USDT. The BTC/USDT mark price reaches BTC = 4,000 USDT

\begin{align} \small \textsf{UPNL} = ({{\textsf{1} \over \textsf{4,000}} - {\textsf{1} \over \textsf{5,000}}}) \times \textsf{10,000} = \textsf{0.5 BTC} \end{align}

## Comments

0 comments

Please sign in to leave a comment.