Hi
I tried to execute "2.3.0 - Content - StreamingPrices - Update DataFrame". I could data via Eikon and EDP but not from TREP. I just got
<StreamState.Open: 3>
then no updates. Could you give me a hint to debug the situation?
Hi
I tried to execute "2.3.0 - Content - StreamingPrices - Update DataFrame". I could data via Eikon and EDP but not from TREP. I just got
<StreamState.Open: 3>
then no updates. Could you give me a hint to debug the situation?
I would suggest you start with this basic streaming example as it provides all the callbacks to capture all events.
In addition, refer to the Sessions example demonstrating how to connect to a deployed ADS:
session = rd.session.platform.Definition( app_key = APP_KEY, deployed_platform_host = REALTIME_DISTRIBUTION_SERVICE_HOST, deployed_platform_username = REALTIME_DISTRIBUTION_SERVICE_USER_NAME, signon_control = True ).get_session()
Also, depending on the setup of your ADS, you may need to specify a service within your definition:
stream = omm_stream.Definition( name="EUR=", fields=['BID', 'ASK','OPEN_PRC','HST_CLOSE','TIMACT'], service='ELEKTRON_DD', domain='MarketPrice').get_stream()