You are using the function get_data of eikon API, You are looking for the the field to use to get...

You are using the function get_data of eikon API, You are looking for the the field to use to get data in the derived holdings screen (sceen dedicated for funds )

Best Answer

  • Gurpreet
    Gurpreet admin
    Answer ✓

    Try this:

    >>> df,err = ek.get_data('LP68245718', ['TR.FundHoldingRIC', 'TR.FundHoldingName', 'TR.FundPercentageOfFundAssets', 'TR.
    FundNumberOfShares'
    ], {'Endnum':'100'})
    >>> df
    Instrument Holding RIC Holding Name Percentage of Fund Assets Number of Shares
    0 LP68245718 MT.AS ARCELORMITTAL SA ORD 5.4478 2438604.00
    1 LP68245718 TEF.MC TELEFONICA SA ORD 5.2182 5106758.00
    2 LP68245718 SAN.MC BANCO SANTANDER SA ORD 5.1237 8619132.00
    3 LP68245718 FREG.DE FRESENIUS SE & CO KGAA ORD 4.9449 640938.00
    4 LP68245718 BOSN.AS KONINKLIJKE BOSKALIS WESTMINSTER NV ORD 4.6105 1302037.00
    5 LP68245718 BNPP.PA BNP PARIBAS SA ORD 4.5423 565221.00
    6 LP68245718 TOTF.PA TOTAL SA ORD 4.5390 614708.00
    7 LP68245718 BP.L BP PLC ORD 4.4163 4866408.00
    8 LP68245718 RDSa.AS ROYAL DUTCH SHELL PLC ORD 4.2089 1059487.00
    9 LP68245718 WEIR.L WEIR GROUP PLC ORD 4.0487 1511493.00
    10 LP68245718 CRDI.MI UNICREDIT SPA ORD 4.0393 1998782.00
    11 LP68245718 EUR CASH 3.8866 23235916.02


Answers