public method O2GTradingSettingsProvider.getMMR
Brief
Gets the minimum margin requirements.
Declaration | ||||
|
Parameters | |
instrument |
The symbol of an instrument. For example, |
accountRow |
The instance of the O2GAccountRow class that contains account information. |
Details
The method returns the amount of funds required to open or maintain a one-lot position for the one-level margin policy.
In the case of FX instruments, the returned value is expressed in the instrument counter currency.
In the case of CFD instruments, the returned value is expressed in the instrument native currency.
The size of one lot can be obtained by calling the O2GTradingSettingsProvider.getBaseUnitSize method.
To get the margin requirements for the three-level margin policy, do the following:
1. Get an instance of the O2GMargin class by calling the O2GTradingSettingsProvider.getMargins method.
2. Use the getLMR, getMMR and getEMR methods of the O2GMargin class.
Declared in O2GTradingSettingsProvider