public method TradingSettingsProviderAut.GetMMR

Brief

Minimum Margin Requirement. The amount of funds which must be allocated for trading 1 lot in the instrument on the account. The value is expressed in the account currency.

Declaration
Visual Basic
Function GetMMR (sInstrument as String, sAccountID as String) As Double
IDL
[id(19)] HRESULT GetMMR( [in] BSTR sInstrument, [in] BSTR sAccountID, [out, retval] double* retVal)

Parameters
sInstrument

The name of the instrument to get the trading setting for.

sAccountID

The identifier of the account to get the trading setting for.

Returns

Returns Double.

Details

When calling the method for a not subscribed symbol, Order2Go throws an error saying that the symbol is not subscribed. To subscribe for a symbol, use the method TradeDeskAut.SetOfferSubscription.

The GetMMR method is defined in the TradingSettingsProviderAut class.

back