Retrieve US10YT BidYld and AskYld at 16-Jan-2023 from API
Retrieve US10YT BidYld and AskYld at 16-Jan-2023 from API
Best Answer
-
@apple.tsai Thanks for your question - please could you post the API call you are making - also please be aware that Jan 16th 2023 was Martin Luther King day in the US and some markets were shut.
You can get the Refinitiv Treasury data snapshot - ie current values using a get_data api call:
import refinitiv.data as rd
rd.open_session()
rd.get_data(
universe=['US10YT=RR'],
fields=['BID', 'ASK','RT_YIELD_1','SEC_YLD_1','VALUE_TS1','VALUE_DT1']
)to check the daily (or hourly etc) history of this you can use the get_history api call:
rd.get_history(universe="US10YT=RR",
interval="1D")From this daily view you can see that there was no entry for the 16th Jan. What you saw on the quote screen were probably some values that were persisted ie last value for bid yield but the time and date were probably the previous days values.
I hope this can help
2
Answers
-
Hi Team, we saw US10YT 16-Jan-2023 show bid and ask yield in terminal, but through API, 16-Jan-2023 yield does not show. May I know how to retrieve 16-Jan-2023 US 10 Year Treasury from API? Thanks.
0 -
Hi Jason,
Understood.
We would like to know which exchange calendar is applied by quote representing in Refinitiv.
We tried to verfiy dates with NYSE calendar, but seems can't match with NYSE exchange calendar.
After 2015,
1) following 2 days shows price in Refinitiv but NYSE market close.2015-04-03, 2021-04-02
2) total 16 market open days without price data present
2015-10-12, 2015-11-11, 2016-10-10, 2016-11-11, 2017-10-09, 2018-10-08, 2018-11-12, 2019-10-14, 2019-11-11, 2020-10-12, 2020-11-11, 2021-10-11, 2021-11-11, 2022-10-10, 2022-11-11, 2023-02-01
Could you please indicate which exchange calendar we should follow ?
Thanks.
Regards,
Apple Tsai
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 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
- 367 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
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛