How can I confirm that given symbol is a valid RIC, using COM API ? (if this is not possible, python Data API)
I tried to use Dex2 API and request some fields, but it returns the empty fields even for invalid RIC.
How can I confirm that given symbol is a valid RIC, using COM API ? (if this is not possible, python Data API)
I tried to use Dex2 API and request some fields, but it returns the empty fields even for invalid RIC.
You can use AdfinX Real-Time COM library. When retrieving an invalid RIC using AdxRtList object, the object will return ItemStatus value of RT_ITEM_INVALID. E.g. if your register the list of RICs with the object and use StartUpdates method with RunMode parameter value of RT_MODE_IMAGE, you can use ItemStatus method of AdxRtList object in OnImage event handler. For an invalid RIC ItemStatus method will return RT_ITEM_INVALID.