How do i access the calendar file data(trading hours) from client file store?
I was referring to the client file store post:
https://developers.refinitiv.com/en/article-catalog/article/introduction-to-client-file-store--cfs----python
There were few details variables like
RDP_BASE_URL + CATEGORY_URL + RDP_AUTH_VERSION + ENDPOINT_URL and client id/client secret i am not sure what end point do i need to hit to get calendar data. could some one pleas help me out.
Best Answer
-
Hello @akhilesh.naredla,
I think you are looking to access CFS Financial Markets Reference Data (FMRD).
Please see Refinitiv Financial Markets Reference Data User Guide to verify how to access this content set.
If this is what you are looking for, then bucket should be RFT-BULK-FMRD, and if I were to guess, the file is likely market events reference init:
If this is not it, you may review the other available content from the service, or open a content support ticket with Refinitiv Helpdesk Online -> Content -> Financial Market Reference Data to help identify the content.
Once you have this information confirmed, the code from the article can be used to download the file.
1
Answers
-
Thanks
@zoya faberov i will go through the link you shared0 -
Hi @zoya faberov what should i select when creating an App Key: Aka Application ID, aka AppKey is a unique identifier,
And also is there any documentation for token generation when trying to access the CFS, i tried examples in this link but not sure if the url is still valid:
https://developers.refinitiv.com/en/api-catalog/refinitiv-data-platform/refinitiv-data-platform-apis/tutorials#authorization-all-about-tokens
I tried creating an token using below code i was getting error 400.Note i used EIkon Data API in this case for App key generationdef generate_token():
auth_url = "https://api.refinitiv.com/auth/oauth2/v1/token"
auth_header = {
'Host': 'api.refinitiv.com',
'Accept-Encoding': 'gzip, deflate',
'Accept': 'application/json',
'Content-Type': 'application/x-www-form-urlencoded',
'Authorization': 'Basic encoded(AppKey)',
}
auth_data = {
'username': 'xxxx',
'password': 'xxxx',
'grant_type': 'password',
'scope': 'trapi'
}
print("Send Login request")
resp = requests.post(auth_url, params=auth_data, headers=auth_header)0 -
Hello @akhilesh.naredla ,
To get started with Refinitiv Data Platform authentication, please refer to Quickstart guide for Refinitiv Data Platform it is common for all RDP APIs and will be fully applicable to RDP CFS FMRD authentication.
In Quickstart guide you will find a link to AppKey generator as well, when you request to generate, please select "EDP", as this is a former name for "RDP".
The code included with CFS Intro article can be used to generate authentication token, if you are comfortable with Postman tool, you may wish to download and import RDP Postman Starter examples, section Authentication request Get Access Token can be used to test authentication via token. Next you will be able to also test section CFS -> CFS - Financial Market Data.
Hope that this information is of help
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 中文论坛