isEffectiveUnderlyingIndex property

bool get isEffectiveUnderlyingIndex

Whether effectiveUnderlying is a spot index (e.g. NIFTY, BANKNIFTY) — as opposed to symbolIsIndex, which asks about the currently charted symbol itself.

Implementation

bool get isEffectiveUnderlyingIndex =>
    indexSymbolsContain(parseIndexSymbols, effectiveUnderlying.id);