Hello team I'm using Workspace Desktop .NET API to retrieve historical data. LSEG Data Library for .NET | Devportal I need the daily historical data for below 2 RICs: XAUFIXAM= XDRUSD= Could anyone help me with a sample C# scipt code with the 2 RICs above? Thanks & Regards, Dan
Dear All, I would like to create a time series data frame, so dates on the left and then columns of daily prices of each security that consitutes the iTraxx Europe Series 42 Version 1 (Index Red 9: 2I666VDK8). I'd like the dates to be from 1st Jan 2020 to 1st Jan 2025. I cannot figure out how to get the prices directly…
when I use the Peers function in codebook, it provides ~50 peers, which is much more than the 7 that you have said the peers function is supposed to identify. How do I limit this to the most relevant 7 peers? I am concerned that adding a number to the function may just select 7 out of the ~50 peers arbitrarily, rather than…
I’m trying to stream prices using the lseg api. I was using a config file to set up the session: with open(self.config_file_name, "w") as config_file: config_file.write(json.dumps(self.config_dict, indent=4)) self._session = rd.open_session(config_name=self.config_file_name) This works well, but when I deploy to AWS the…
Hi Team, I am new to the API and currently using the Eikon Data API to fetch news data through a Python script that runs every minute. However, at some point, the program crashed. To identify the issue, I ran the sample code from the codebook, but it returned an empty dataframe: I have a few questions regarding this: Did I…
how do i make a function like this to work? import refinitiv.data as rd rd.open_session() year = [2025,2026] df = rd.get_data( universe = ['CEAB3.SA'], fields = ['TR.NetProfitMean(Period=year1})', 'TR.NetProfitMean(Period=year2})'], parameters = { 'year1':year[0], 'year2':year[1] } ) display(df) the year list is dynamic.…
Hi, can you please help on below - this is my script to grab a rolling basis of 5 days VWAP data for an underlying daily into a dataframe but it doesnt seem to work anymore. I changed it from Eikon to lseg.data import pandas as pd import win32com.client import subprocess import json import requests import re import eikon…
How can i do ARIMA Forecast for economic variables like Swiss CPI, code below does not work, whick Field ID works? spot_df = rd.get_history( "CHCPIY=ECI", 'CTBTR_1', interval='monthly', start="2024-01-01", count=10000) print(spot_df) _e_date = datetime.fromtimestamp(datetime.timestamp(spot_df.index[-1])) e_date = _e_date +…
I am attempting to get the previous date of release of an economic indicator EUECBR=ECI. On Workspace Quote page that field id PDOR_1. I am able to get the data for this field with Workspace Excel as well, however in Python API it gives me NA. Can someone assist me with this please? I have attached relevant screenshots…
Hi All, Is it possible to get cross currency spreads for example to ZSpreadBp in Euro terms, either via fields or pricing parameters? And secondly, is it possible to retrieve and issuer curve as universe instead of adding bonds manually to the universe via bond.Definition. ? Best,
It looks like you're new here. Sign in or register to get started.