Unable to use symbol_conversion module of Refinitiv Data Library for Python.

GBM
Newcomer
Good afternoon,
Establishing connectivity with a Python script to our locally hosted RTDS servers, I am able to connect without issues and request RIC data as session with call such as:
ricarray = "MSFT.O"
result=rd.get_data( universe=ricarray,) print (result) Result: Instrument PROD_PERM RDNDISPLAY ... ODDTRN_UNS TRNOVR_UNS ACVOL_UNS
0 MSFT.O 74 66 ... 22483411.52 34832249 79628
But I am unable to make the same request but with symbol_conversion as instructed in the documentation. All other parameters for connectivity are the same. (server, dacs user, etc)
just to clarify I've already imported it, this is far above in my code: from refinitiv.data.content import symbol_conversion … response = symbol_conversion.Definition("MSFT.O").get_data() response.data.df OR response = symbol_conversion.Definition("MSFT.O").get_data()
print(response.data.df.to_string()) Result: Traceback (most recent call last):
File "C:\Users\n960152\Documents\PythonProjects\VelocityGuide\mainISIN2RIC.py", line 47, in <module>
response = symbol_conversion.Definition("MSFT.O").get_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\refinitiv\data\content\_content_provider_layer.py", line 57, in get_data
return super().get_data(session, on_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\refinitiv\data\delivery\_data\_data_provider_layer.py", line 148, in get_data
response = get_data(self._data_type, self._provider, session, **self._kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\refinitiv\data\delivery\_data\_data_provider_layer.py", line 50, in get_data
response = provider.get_data(session, url, auto_retry=auto_retry, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\refinitiv\data\delivery\_data\_data_provider.py", line 85, in get_data
raw_response = self.connection.send(request, session, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\refinitiv\data\delivery\_data\_connection.py", line 14, in send
return session.http_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\refinitiv\data\_core\session\_platform_session.py", line 235, in http_request
return self._connection.http_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\refinitiv\data\_core\session\connection.py", line 287, in http_request
raise PlatformSessionError(
refinitiv.data._errors.PlatformSessionError: Error code -1 | Error!!! Platform session cannot connect to refinitiv dataplatform. Please check or provide the access right.
Process finished with exit code 1
0
Answers
-
Thank you for reaching out to us.
I assume that you are using the deployed session which connect to RTDS.
"deployed": { "app-key": "", "realtime-distribution-system": { "url": "127.0.0.1:15000", "dacs": { "username": "user", "application-id": 256, "position": "" } }
The hosted RTDS doesn't support symbol_conversion. To use the symbol_conversion, you need to use the desktop session or platform.rdp session.
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
- 685 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
- 252 ETA
- 556 WebSocket API
- 38 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
- 652 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
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 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 中文论坛