Client is facing the issue in running the Report client has access for the RIC .FTAS

from datetime import datetime as dt
import pandas as pd
import eikon as ek

app_key='c5468339768f4efd92d04b15e44ae3b62dab8f22'
ek.set_app_key(app_key)
index_code='.FTAS'
initial_date = pd.Timestamp(2025,7,18)

fields = ['TR.IndexJLConstituentChangeDate', 'TR.IndexJLConstituentRIC.change', 'TR.IndexJLConstituentRIC']
parameters = {'SDate': '0D', 'EDate': dt.strftime(pd.Timestamp(initial_date),'%d-%b-%Y'), 'IC': 'B'}

getting the joiners and leavers information

lj, err = ek.get_data(index_code, fields, parameters)

Answers

  • @Uday_PK, what is the issue?

    Please ask the user to find out the applicable fields from the Data Item Browser for this instrument. These fields are not applicable to the index instrument provided.

  • Huma
    Huma LSEG
    edited July 23

    Gurpreet,

    The user is using the below script and the fields are available in DIB. Also the User is trying to pull the Historical constituents for .FTAS

    import refinitiv.data as rd
    from datetime import datetime as dt
    import pandas as pd

    rd.open_session()

    universe = ['0#.FTAS']
    initial_date = pd.Timestamp(2025,7,23)
    fields = ['TR.IndexJLConstituentChangeDate', 'TR.IndexJLConstituentRIC.change', 'TR.IndexJLConstituentRIC']
    parameters = {'SDate': '0D', 'EDate': dt.strftime(pd.Timestamp(initial_date),'%d-%b-%Y'), 'IC': 'B'}

    df = rd.get_data(universe, fields, parameters)

    print(df)


    Even I tried to rebuilt it but getting the same Error as

    refinitiv.data._errors.RDError: Error code -1 | Unable to resolve all requested identifiers in ['0#.FTAS'].

    Secondly , Also wanted to know is the below Alert something related to the above concern.

    SERVICE ALERTS FOR INFORMATION PRODUCTS ALERT52

    Constituent & Weightings Data ALERT STATUS = Confirmed
    Checkpoints (All Times are GMT)
    Outage Start: 10:00 22 Jul 2025
    First Reported: 14:10 22 Jul 2025 Last Updated: 16:50 23 Jul 2025
    Next Update: 18:00 24 Jul 2025 Estimated Resolution: Not Yet Available

    Details
    Update 3 at 16:50 GMT on 23-Jul-25: LSEG continues to work to resolve the issue.
    The next update will be at 18:00 GMT on 24-Jul-25.

    Incident Summary:
    Leavers and Joiners data View for Some of the Indices are delayed in Workspace.

    Real time Index Chains are unaffected.

    This is due to an issue at LSEG.

    Example RICs: <.FTSE>, <.FTITLMS>, <.GSPTSE>, <.SSMI>

    Products affected: Workspace

  • Huma,

    I don't see any data for the fields - 'TR.IndexJLConstituentChangeDate', 'TR.IndexJLConstituentRIC.change', 'TR.IndexJLConstituentRIC' in the Data Item Browser - neither for index, nor for the chain RIC. For content clarifications, please raise a ticket at LSEG MyAccount. We can only help with technical API related issues.

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @Huma

    Please contact the helpdesk to request the working @RDP .Data Excel formula. Once you have it, kindly share it with us so we can convert it into Python code.

  • @Jirapongse Please find the below RDP Excel formula.

    =@RDP .Data(".FTAS","TR.IndexJLConstituentChangeDate;TR.IndexJLConstituentRIC","CH=Fd RH=IN")

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @Uday_PK

    Thank you so much.

    The Python code looks like this:

    ld.get_data(
        universe = ['.FTAS'],
        fields = ['TR.IndexJLConstituentChangeDate','TR.IndexJLConstituentRIC'])
    
    
    image.png

    I am using the get_data method in the LSEG Data Library for Python.

  • @Jirapongse ,

    Thanks for Providing an update.

    Can you please create an Python script for the below formula.

    =@RDP .Data(".FTAS","TR.IndexJLConstituentChangeDate;TR.IndexJLConstituentRIC;TR.IndexJLConstituentituentChange","SDate=2025-07-25 EDate=2000-01-01 CH=Fd RH=IN")

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    The Python code is:

    ld.get_data(
        universe = ['.FTAS'],
        fields = ['TR.IndexJLConstituentChangeDate','TR.IndexJLConstituentRIC','TR.IndexJLConstituentituentChange'],
        parameters = {
            'SDate':'2025-07-05',
            'EDate':'2000-01-01'
        })
    
    
    image.png