-
How To Connect to News With Python
Hello, I am trying to connect to RDP news directly in python without having the terminal in the same machine. import lseg.data as ld import os os.environ["LD_LIB_CONFIG_PATH"] = r"C:\\Users\\padadmin\\PycharmProjects\\pythonProject\\Repos\\pwm-pad\\APIs\\Configuration" ld.open_session() Where I have the json file like…
-
Postman Authentication returns 400, validation error
Postman Authentication returns 400, validation error. Please advise what is wrong
-
/data/funds/v1/assets/40003333 on API Playground returns "400 bad request"
The following sample (/data/funds/v1/assets/40003333) on API Playground returns "400 bad request". Please check.
-
How to Download ESG News from All S&P 500 Companies Using API
Hello, I am looking for a way to download ESG news for all S&P 500 companies using the Refinitiv Data Platform (RDP) API or the Eikon API. My goal is to retrieve articles, headlines, and any relevant information related to sustainability, governance, and ESG criteria for the companies in the index. Specific Questions:…
-
rdp Error400 Bad Request for Vol Surface data quantitative-analytics-curves-and-surfaces
Hi All, I am unable to retrieve data, I get error 400 "Bad Request". Here is my request: RESOURCE_ENDPOINT = "https://api.refinitiv.com/data/quantitative-analytics-curves-and-surfaces/v1/surfaces" requestData = { "outputs": ["Data"], "universe": [ { "surfaceTag": "Example Vol Surface", "underlyingType": "Eti",…
-
acquiring CLIENT_ID and CLIENT_SECRET for RDP Auth/v2
I have an issue related to getting access token via auth v2 endpoint: https://api.refinitiv.com/auth/oauth2/v2/token I can login to API Playground UI and access endpoints that I need with my credentials: -username -password (for UI) However, to generate access token (programmatically) I need: CLIENT_ID CLIENT_SECRET and I…
-
What API endpoints aside from datagrid can replicate this SCREENER?
=@TR("SCREEN(U(IN(DEALS)/UNV:DEALSLOAN/),IN(TR.LNParticipant(LNPartRole=LNB:LNBIP:LNBUP:LNBMP:LNR:LNRIP:LNRUP:LNRMP:LNAB:LNABIP:LNABUP:LNABMP:LNG:LNGIP:LNGUP:LNGMP:LNLBO:LNLBOIP:LNLBOUP:LNLBOMP:LNPG:LNPGIP:LNPGUP:LNPGMP),4296949406), BETWEEN(TR.LNMaturityDate,20250319,20750319)/dt:Date/,…
-
How do we get the latest file from CFS API for Package ID: 4d7e-7f24-e8549883-a58e-b7535ef16ee7
In the attached response, we don’t have any files with dates after January 2025 for normal Yield curve data: Bucket Name: bulk-custom Package ID: 4d7e-7f24-e8549883-a58e-b7535ef16ee7 File naming convention: PiperGMCurvesYYYY-MM-DDT16:00:00.000-05:00 Additionally, for Interpolated yield curve data, there are no files after…
-
PDP - PE and PE - PDP conversion
Hello, may I ask if anyone is aware whether LSEG offers API to convert PE and PDP, and vice-versa? I looked up to https://myaccount.lseg.com/en/productcodelookup/dacsdetails?PE=3786 and it shows all the PDPs tagged to 3786 PE. Would like to know if I can write a script (e.g. Python) to extract the PDPs when given a PE.
-
IRPR data in Python
Hi Team, I am assisting a client to use the list of chains below and its data. I sent him a sample code for 1 chain (USD) import refinitiv.data as rd session = rd.session.desktop.Definition(app_key=('DEFAULT_CODE_BOOK_APP_KEY')).get_session() session.open() rd.session.set_default(session) IRPR_chain =…
-
RD API Connection from LSEG AWS Env
What are the requirements to be able to connect via RD API to source FX market data from LSEG AWS environment.
-
RDP API Session Error
File ~/.local/lib/python3.9/site-packages/refinitiv/data/_core/session/_session_provider.py:127, in _make_platform_session_provider_by_arguments(session_name, app_key, signon_control, deployed_platform_host, deployed_platform_username, dacs_position, dacs_application_id, grant, proxies, app_name) 124 default_session_config…
-
Using fundamental_and_reference leads to warning when <NA> values are in the result
I tried to get some data using lseg-data 2.0.1 with "fundamental_and_reference". The result obviously contains some <NA> values. I got the message: "FutureWarning: Downcasting object dtype arrays on .fillna, .ffill, .bfill is deprecated and will change in a future version. Call result.infer_objects(copy=False) instead. To…
-
Retrieve RIC/ISIN of Options' underyling
Dear all I got a list of historic options RICs (e.g. ABBE130E0.EX^E20). Is there a way to get the RIC/ISIN of the options' underlying using Python refinitiv.dataplatform? Many thanks for the help. Best, G
-
Wildcards in news search
Hello, I'm trying to build a news query and was wondering if there was a way to pass through freetext phrases that could use wildcards. For example, I have this below ( ( Topic:FUND AND Language:LEN ) NOT ( Source:DJN OR Source:FT ) NOT ( \"Net Asset\" ) ) But the text search ignores the filter if the news phrase is "Net…