|

Margin Calculation with USD as Quote Currency

Guest post by FXOpen Forex Broker

After discussing the pitfalls of margin trading, we hereby present a new piece for your attention – margin calculations based on USD as quote currency.

The article is supported by the elaborate formulas. visual images and examples to ease the perception of the presented information.

USD – quote currency (EURUSD)

Say, a client opens a short position (Sell) of a 3-lot volume (Pic.1):

Forex Education

Margin for the Sell position is calculated by instrument’s Bid price the moment the order is executed*, that is:

Sell Formula

Volume – the volume of the given short position in lots;

Lot Size – the amount of the base currency per lot;

Open Price Bid – trading instrument’s Bid price at the moment of order execution;

Leverage – credit help provided to the client (1:100).

So, in our case:
Mg-Sell-Formula-2

Now, let’s analyze an example of margin calculation, required to open a long position (Buy) of a 5-lot volume (Pic. 2):

Education

Margin for the Buy position is calculated by instrument’s Ask price the moment the order is executed*, that is:
Buy

Let’s pass to the calculation procedure of Hedged Margin for locked positions.

To this end, a newly opened 3 lot Sell is added up with a 5 lot Buy (Pic.3):

Education Forex

The following steps are required to calculate the Hedged Margin:


i) Weighted Average Price (WAP) is derived from all the short (Sell) and long (Buy) positions, opened by a client:

Wap

ii) Hedged Margin is calculated by the maximum sum of the Sell and Buy volumes and WAP:
Formula

*Processing of orders for new positions

When a client’s order to open a new position reaches the server, an automatic verification of a trading account is carried out to calculate Free Margin for the applied position:

a) the list of open positions is added up with a new one;

b) a new size of the required margin «New Margin» is defined for the client’s total trades, including a new position, added nominally at current market prices during the verification procedure;

c) a floating profit/loss is calculated at current market prices for all the open trades, including a newly opened nominal position;

d) a new size of Free Margin is derived from the formula Free Margin = Equity – New Margin;

e) in case:

- «Free Margin» ≥ 0, a position shall be opened, which is registered in the server log-file;

- «Free Margin» ≤ 0, a position shall be removed, which is registered in the server log-file.

Note! Due to high market volatility, the price at the moment of the trading account verification for the compliance with Free Margin conditions may differ from the price at the moment of order execution (exercise price).

Author

More from Núria Foj Alvira
Share:

Editor's Picks

Crypto Today: Bitcoin, Ethereum, XRP trade under sustained selling pressure despite mild ETF inflows

Cryptocurrency prices remain under pressure as a risk-off mood persists on Friday, with Bitcoin consolidating its losses above $62,000. Altcoins, including Ethereum and Ripple, are extending their weakness, trading near lower support levels around $1,600 and $1.12, respectively.

Bitcoin Weekly Forecast: After the bloodbath, everyone looks at $60,000

Bitcoin (BTC) hovers above $62,000 at the time of writing on Friday, weighed down by growing risk-off sentiment due to persistent geopolitical tensions in the Middle East and sticky macroeconomic uncertainty.

Cardano hits five-year low even as Hoskinson clarifies "break" isn't an exit

Cardano price is down 10% at press time on Friday, extending losses over 30% so far this week amid Charles Hoskinson's clarification that "break" isn't an exit. A reactionary spike in on-chain activity and social chatter, reflecting a strength of community, but fails to absorb the price decline.

Arthur Hayes' “Holy Trinity” is dead: Exits Zcash after Orchard Pool exploit

Arthur Hayes dumped his entire Zcash holdings on Friday, a day after selling his HYPE and NEAR holdings. Zcash is down 13% so far on Friday, extending the 26% drop from the previous day.

Bitcoin: After the bloodbath, everyone looks at $60,000
Bitcoin (BTC) hovers above $62,000 at the time of writing on Friday, weighed down by growing risk-off sentiment due to persistent geopolitical tensions in the Middle East and sticky macroeconomic uncertainty. The institutional sell-off continued to wreak havoc on capital flows, with spot Bitcoin Exchange-Traded Funds (ETFs) recording billions in outflows.