Hello,
Following the question: https://community.developers.refinitiv.com/questions/82358/all-data-platform-session-queries-return-none-pyth.html?childToView=89782
I am able to start a session but any requests to retrieve data I make - rdp.get_snapshot, etc - return Nonetype objects.
The session appears to open fine.
Input:
import refinitiv.dataplatform as rdp from platform import python_version print(rdp.__version__) print(python_version()) rdp.open_desktop_session('xxxx') x = rdp.get_snapshot( universe = ['GBP=','JPY='], fields = ['BID','ASK']) print(x) print(rdp.get_last_status()) rdp.close_session()
Output:
1.0.0a7 3.9.0 None {'http_status_code': -1, 'http_reason': b"[Errno 10061] Connect call failed ('127.0.0.1', 9060)"}
@umer.nalla suggestions from previous post:
Your error message would suggest you are creating a Desktop session, but that the library cannot connect to the Eikon Data API proxy. Do you have Eikon or Workspace open and running on the same physical PC where you are running the python script? What response do you get to the following? http://localhost:9000/ping?all http://localhost:9060/ping?all and also: http://localhost:9060/api/ http://localhost:9000/api/
1. Yes, I have my Workspace open and running on the same physical PC where I'm are running the python script.
2. I checked all the links to open and all the links can not be opened (blank screen, loading) but one the http://localhost:9060/api/ showing message on screen: 'This site can’t be reached'.
Thanks, Piotr