All details about contracts from position are displayed in the Matched orders table.
A trader’s position may consist of a different number of contracts with different prices. In our case, the Position Panel on the trading page displays the aggregated position data.
Entry Price = q1 * Entry Price1 + q2 * Entry Price2 +.....
So, Entry Price in the Open Position table is the weighted average of Entry prices of contracts from the Matched orders table.
All contracts have a different liquidation price that is displayed in the Matched orders table. So the user will lose only part of his/her position.
For example, the Liquidation Price for a long position displayed in the Open Position table is the maximum liquidation price for a trader’s contract.
The Liquidation Price for a short position displayed in the Open Position table is the minimum liquidation price for a trader’s contract.
The Liquidation Price from the Open Position table is also displayed on the ladder.
In the case of Liquidation, the Position Margin of the liquidated contracts will be removed from the trader’s balance.
When a user places an order in the opposite direction from his/her position, he/she will reduce the number of contracts in position according to the LIFO principle (last in first out).