You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Or type 0.5
I have a problem with the followng contract.
If I Print MARGINREQUIRED I see 92.15 but if I try to open 1 Lot the required margin is around 2K Euros.
Could you help me to calculate the required margin for a given size?
I tried the following
Required Margin = Volume * Contract Size * Open Price * Margin %
but I seem it doens't work (may be for CFD leverage?)
I have a problem with the followng contract.
If I Print MARGINREQUIRED I see 92.15 but if I try to open 1 Lot the required margin is around 2K Euros.
Could you help me to calculate the required margin for a given size?
I tried the following
Required Margin = Volume * Contract Size * Open Price * Margin %
but I seem it doens't work (may be for CFD leverage?)
I tried to sold 0.45 lots of the contract and I saw the required margin was Euro 404.
Using the following formula
Margin: (Lots * ContractSize * MarketPrice) / Leverage * Margin_Rate
I obtain ((0.45 *100 * 101.187/100) / 100 * 100%) / EURUSD = 41.39
Where is my error?
I tried to sold 0.45 lots of the contract and I saw the required margin was Euro 404.
Using the following formula
Margin: (Lots * ContractSize * MarketPrice) / Leverage * Margin_Rate
I obtain ((0.45 *100 * 101.187/100) / 100 * 100%) / EURUSD = 41.39
Where is my error?
Is there a way to recall the margin % from code?
For some contracts it's available under Margin rate, at the bottom of the window. So if Margin rate is 5, I need to divide by 20.
Is there a way to recall the margin % from code?
For some contracts it's available under Margin rate, at the bottom of the window. So if Margin rate is 5, I need to divide by 20.