public method O2GOfferRow.getBuyInterest

Brief

Gets the interest amount applied to the account balance for holding a one-lot long (buy) position opened overnight.

Declaration
Java
double  getBuyInterest ()

Details

The returned value is expressed in the account currency and can be positive or negative.

In the case of FX instruments, the lot size is determined by the system base unit size.
In the case of CFD instruments, the lot size equals to one contract.

Note for FX instruments: If the account base unit size differs from the system base unit size, to get the proper interest amount for an account, use the following formula:
(O2GOfferRow.getBuyInterest()/Constants.SystemProperties.BASE_UNIT_SIZE) * O2GAccountRow.getBaseUnitSize()

Declared in O2GOfferRow

back