Jupyter Notebook not returning any values.

I was trying to run the below code. The case is, on jupyter notebook, I am not receiving any returned records. this code came from https://github.com/Refinitiv-API-Samples/Example.RDPLibrary.Python/blob/master/1.1.0%20-%20Function%20-%20Historical%20Pricing.ipynb
On the said website, the expected result is the below image.
However, when I try to replicate this from my end, I am getting no response. Please see the image below:
You'll notice that I was able to request a token but when I run rdp.get_historical_price_events('VOD.L'), I cannot get any error msg or historical values.
Best Answer
-
Hello @SamRT
While my colleague already gave you clear instructions, you may check if your RDP account has permission to request the historical data via the RDP API Playground page. You can log in to the page with your RDP username and password (the same credentials as your Jupyter notebook), then test the /data/historical-pricing/v1/views/events data endpoint.
0
Answers
-
Hello @SamRT ,
A couple of things to verify may be:
1. Are you using the latest RDP Library version, suggest to upgrade to the latest available:
python -m pip install refinitiv-dataplatform --upgrade
and retest.
2. Are you using Desktop session or Platform session - if it's Desktop - your Refinitiv Workspace or Eikon must be running and logged in on the same machine, you must be able to connect to the running instance.
3. To try to learn more of the error that is happening, (temporarily) enable debug logging:
import refinitiv.dataplatform as rdp
import datetime
%run ./credentials.ipynb
import logging
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.DEBUG)See what you may learn from applying these steps and the log generated?
4. Are you able to obtain other content, such as
rdp.get_snapshot(
universe = ['GBP=','JPY='],
fields = ['BID','ASK']
)If not, what is the error that you observe with DEBUG level of logging?
0 -
Thanks @zoya faberov and @wasin.w, Looks like the issue was with my permission. I'll take care of it.
Is there a way that I can request a schema document for this endpoint/Variant? The one that outlines the Universe the output? Or Kindly advise where I can request this internally. Please see the sample screenshot below.0 -
Hello @SamRT
I found this RDP /data/ownership/v1/views/consolidated/breakdown endpoint on the RDP API Playground page too. It has the API swagger and reference.
Note: I do not have internal contacts for this API endpoint.
0 -
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛