public method IO2GOfferRow.getSellInterest

Brief

Gets the interest amount applied to the account balance for holding a one lot short (sell) position opened overnight.

Declaration
C++
double  getSellInterest ()

Details

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

In case of FX instruments, the lot size is determined by the system base unit size.
In 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:
(IO2GOfferRow.getSellInterest()/IO2GSystemPropertiesReader.findProperty)("BASE_UNIT_SIZE") * IO2GAccountRow.getBaseUnitSize()

Declared in IO2GOfferRow

back