Do we have a list of all fields that can be placed under "SELECT" Parameter?

Do we have a list of all fields that can be placed under "SELECT" Parameter?

Best Answer

  • nick.zincone
    nick.zincone admin
    Answer ✓

    Hi @katrina.salvador

    You can use the new search property explorer to retrieve, and interrogate, properties available for a given search.

    Simple example:

    import lseg.data as ld
    from lseg.data.content import search
    from lseg.data.discovery import SearchPropertyExplorer, PropertyType


    1729088446431.png

    The explorer.get_properties_for() supports the same basic search parameters as the basic search mechanism. For example:

    1729088580900.png

Answers

  • Hi @katrina.salvador ,


    Out Python Libraries Eikon, RD Libraries, LD Libraries doesn't have SELECT parameter. You might be referring though to the fields parameter where you can specify the list of fields for your request. Please see an example request with our latest LD Libraries:

    import lseg.data as ld

    ld.open_session()

    ld.get_data('MSFT.O', fields=["BID", "ASK"])

    The best way to find the fields using the Data Item Browser (DIB) inside LSEG Workspace. See below:

    screenshot-2024-10-16-at-094207.png

    Hope this helps.


    Best regard,

    Haykaz

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @katrina.salvador

    The select parameter is available in the Search API.

    If you are using this Search API, you can get the list of fields by using the Search Metadata.

    Moreover, according to the Building Search into your Application Workflow article, you can use select = "_debugall" to ist all properties.