How to get latest FX Polls?
Best Answer
-
For content questions, its best to reach out to content experts by raising a ticket at my.refinitiv.com.
From the Data Item Browser, I can see some fields like CTBTR_1, GEN_VAL1, GEN_VAL2 and GEN_VAL3 which reflect some of the FOREXPOLL data, but am not sure if these are the right fields to use.
These fields are for getting the latest FX Polls data. The timeseries API call can only provide bar data like OHLC, and these fields don't have historical data.
Again, a content expect can provide a qualified answer.
0
Answers
-
thank you Gurpeet. I have raised the question to myrefinitiv. What api function should I use to get those fields? Can you share an example?
0 -
I was told from myrefinitiv I should I have access to the latest polls and they directed me to this forum. Can you help me getting this data?
0 -
What API/Library are you using currently to get data from Workspace. If you are completely new to it, you can look at Codebook samples in workspace - type CODEBK in WS search bar, and navigate over to Data Retrieval - Refinitiv Data Library to learn how to use RD library.
The API call will be get_data. Here is an example of how this API can be used to get latest polls data:
0 -
Thank you. I used to use eikon api and the function get_series and the "Close" field to get the last N observations but I have not been able to get the latest this time - I am able to get the history before the current month.
0 -
Are you interested in getting historical close price or the FX polls numbers. The FX Polls fields which I showed don't support history and so you would only be able to retrieve current values as shown in previous answer.
AUD1YP= is a FX forecast and does not have a close field. Can you show an example of how you were able to get a close price for this instrument previously.
0 -
I was simply using
df = ek.get_timeseries('AUD1YP=',interval='monthly',count=1)
0 -
From what I can see, the FX poll data is only available in monthly intervals. Specifying any interval shorter than 1M is ignored and monthly data is returned. You can use a query like -
rd.get_history("AUD1YP=", interval="1M")
The data for current month of May will be available on 31st.
0 -
Thank you. Yes, I always used monthly. This is my isse/question: the May survey was released on May 2nd and it is there - you can see it in Eikon/Workspace. Why I cannot access it? I was able to access this data in the past when it was released using the eikon api (with the Close field).
0 -
Unfortunately we on the developers forum do not have indepth knowledge of the content - which is why I referred you to open a content service ticket. Do you have the ticket number with my.refinitiv?
0 -
yes. here you go 13561282
0 -
The content specialist had provided an answer - which seems like is the right answer.
As per checking on your concern with our specialist, We would like to set your expectations that when retrieving historical data for sample RIC <AUD1YP=>, we can only get upto APR.
As a workaround, You may use the following code to retrieve the latest value for MAY:
import refinitiv.data as rd
rd.open_session()
df = rd.get_data(
universe = ['AUD1YP='],
fields = ['PRIMACT_1']
)0 -
Thank you Gurpreet. Is there also a field to give me the date of the survey?
0 -
nevermind i found it. thanks0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 162 App Studio
- 4 Block Chain
- 5 Bot Platform
- 17 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 370 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛