fetchOIChange method
- required String underlyingSymbolId,
- required List<
String> expiries, - required int timeFrom,
- required int timeTo,
override
OI change (only) over the window timeFrom..timeTo (unix seconds),
summed across expiries, per strike -- powers the OI Profile
indicator's change values and the OI Change Analysis screen, as an
alternative to the single feed-provided MarketData.oIChng.
Resolve to a JSON object:
{
"calls": {"23450": 3770, ...},
"puts": {"23450": 802750, ...}
}
Resolve to null when no data is available for the window.
Implementation
@override
Future<String?> fetchOIChange({
required String underlyingSymbolId,
required List<String> expiries,
required int timeFrom,
required int timeTo,
}) => _data.invokeMethod<String>('fetchOIChange', {
'underlyingSymbolId': underlyingSymbolId,
'expiries': expiries,
'timeFrom': timeFrom,
'timeTo': timeTo,
});