Margin Specs
Money Deposited
In the context of XTrading, Money Deposited refers to the funds that traders deposit to the protocol vault.
Escrowed
Escrowed pertains to the funds deposited (Money Deposited) and represents a trader's realized Profit and Loss (PnL). This can encompass both profit and loss outcomes.
Free Collateral (Withdrawable Balance)
Free Collateral, also called withdrawalable balance, represents the amount of funds a trader can withdraw from their trading account while still maintaining their active positions and open orders.
Locked Balance
Locked balance is the sum of all Open orders and the minimum margin that the user has to maintain in the margin account to maintain the current open position. It reflects the portion of a trader's total buying power that is available to place limit orders, excluding any orders that have failed or been canceled.
Leverage
Leverage is a measure of your borrowing capacity to open and maintain a position in your trading or investment account. The leverage is calculated as follows:
New Leverage
New Leverage refers to the adjustment in leverage associated with both limit and market orders.
Essentially, 'New Leverage' represents the altered leverage level resulting from the execution of a trade, whether it's executed as a limit order or directly as a market order. It quantifies the change in leverage triggered by the execution of the trade.
Expected Price
Expected Price is the calculated average price at which a series of orders, each with a specific quantity and execution price, would be expected to be executed. It represents the anticipated average price of SNV that you get while making a trade.
Unrealized PnL
Unrealized Profit and Loss (PNL) represents the PNL (Profit and Loss) associated with your current position that has not yet been realized.
To put it simply, it's the profit or loss you would make if you were to close your position at the current market value.
This is called 'unrealized' because this profit or loss has not been added or deducted from your account balance yet, as you have not closed your position.
In essence, when a trader's position experiences a change in value without being closed, this change is quantified as the Unrealized PnL
Realized PnL
Realized Profit and Loss (PNL) represents the actual profit or loss resulting from closing a position at its current market value.
To put it simply, it's the profit or loss you have realized by squaring off or closing your position.
This is called 'realized' because this profit or loss has been added or deducted from your account balance as you have successfully closed your position.
In essence, when a trader closes their position, the resulting profit or loss is quantified as the Realized PnL.
However, in the context of XTrading, there's also something called Funding Delta that goes into calculating Realized PnL, which will be explained next.
Funding Delta
At a trading platform like ours, it is crucial to maintain a close alignment between the Mark Price and Index Price. However, there are instances when the Mark Price exceeds the Index Price, leading traders to purchase our index (SNV) at a higher cost or vice versa.
In order to rectify this difference and guarantee that the Mark Price aligns with the Index Price, the protocol employs a penalty system. This penalty applies to traders who hold long positions on SNV (buyers) when the Mark Price surpasses the Index Price. Similarly, it affects traders with short positions on SNV (sellers) when the Index Price exceeds the Mark Price. The resulting penalties are then redistributed to the corresponding counterparty traders. The extent of penalization depends on two key factors: the quantity of SNV held by the traders and the difference between the Mark Price and Index Price.
In essence, when the Mark Price exceeds the Index Price, long positions compensate for short positions, and vice versa. This intricate mechanism is known as Funding Delta and serves as a pivotal tool for maintaining the close alignment of Mark Price and Index Price on our platform.
Margin Usage
Magin Usage quantifies the percentage of your total available margin that you have utilized for your trading activities.
It is calculated as:
In essence, it's a numerical representation indicating how much of your wallet's funds are currently allocated to open trades.
New Margin Usage
It represents the change in your margin when you execute a trade.
In essence, New Margin Usage provides a clear picture of how your margin allocation changes when you execute a trade.
Margin Ratio
The Margin Ratio is a crucial metric used to measure the level of risk associated with a given position. It is calculated by dividing the escrowed value by the position notional value.
However, as SNV prices fluctuate, so does the Margin Ratio.
Monitoring the Margin Ratio regularly is essential, as a low ratio may indicate a high level of risk for the position.
Buying Power
Buying power refers to the maximum amount you can go long or short on using the available balance in an account. XTrading is currently offering leverage of 10x on SNV, which means that for every WETH deposited, you can buy up to 10 WETH worth of SNV.
Initial Buying Power
New Buying Power
For Limit Order,
a) No Side/Same Side
b) IQ < CQ Side Different
c) IQ < CQ Side Different
For Market Order,
a) Same Side
b) IQ < CQ Side Different
c) IQ < CQ Side Different
Mark Price
The price of a derivative in our native market is called Mark Price. To determine this value, we use a method known as an order book price discovery, which serves as the primary mechanism for price discovery.
Account Value
The value of your account, represented by the Is the sum of your Escrowed, Unrealized PnL and Cumulative Funding Value.
Risk Factor
Risk Factor serves as an indicator of your susceptibility to liquidation in trading. To put it in perspective, let's say you face liquidation when your Margin Ratio (MR) touches 0.0625.
As you approach the 0.0625 MR threshold, your risk factor steadily increases. Conversely, when you are closer to an MR of 1, your risk factor is minimal.
It's important to note that the Margin Ratio can vary between 1 and 0, with your risk factor being at its lowest when MR is 1 and at its highest (100) when MR reaches 0.0625.
In summary, the Risk Factor quantifies the likelihood of a trader's position being liquidated based on their Margin Ratio, with lower values indicating higher risk and higher values indicating lower risk.
New Risk Factor
The New Risk Factor is a dynamic measure that reflects the probability of getting liquidated when you execute a trade.
In essence, the New Risk Factor provides Trader A with a real-time assessment of how a new trade can influence the overall risk of their trading portfolio, helping them make informed decisions regarding their risk exposure.
Health Factor
The Health Factor serves as the complementary counterpart to the Risk Factor, reflecting the overall well-being and stability of your trading account. As mentioned earlier, the relationship between the Risk Factor and the Health Factor is such that when your Risk Factor is higher, your Health Factor is correspondingly lower, signifying a healthier account.
In essence, your Health Factor is a positive indicator of the robustness of your trading account and the reduced likelihood of liquidation. It's a simple yet powerful metric that showcases the health of your account, providing a reassuring measure of its stability.
All-Time PnL
The All Time Profit and Loss (PnL) serves as a comprehensive metric that provides an overview of your overall trading performance and efficiency.
For instance, consider a trader who has been actively making trades since T0 (the start of their trading journey). All Time PnL for this trader would encompass the sum of all the profits earned from T0 until the present moment, minus any losses incurred during that period.
Liquidation
Liquidation Price is a crucial metric that indicates the threshold at which your trading position becomes vulnerable to liquidation in the market. It's contingent on whether you are in a long or short position.
Last updated