the code i'm running on python is :
import refinitiv.dataplatform as rdp
import pandas as pd
global session
global pricing
global streaming_price
global all_rows_realtime
# 982fe27de05a4ef780a944e67967a470f72338cc
# 4f3a9d30bd02431098678865b31809a89c362153
session = rdp.open_platform_session(
'4f3a9d30bd02431098678865b31809a89c36215',
rdp.GrantPassword(
'x.x@refinitiv.com',
'xxxxxx'
)
)
print(session)
streaming_prices = rdp.StreamingPrices(
universe = ['EUR='],
fields = ['CF_BID'],
on_update = lambda streaming_price, instrument_name, fields :
print("Update received for {}: {}".format(instrument_name, fields))
)
df = streaming_prices.get_snapshot()
print(df)
streaming_prices.open()
Output is :
2019-12-27 13:26:29,078 P[36232] [Thread-17 24556] [Error 400 - access_denied] iPlanet session has been expired.
2019-12-27 13:26:29,078 P[36232] [Thread-17 24556] [Error 400 - access_denied] iPlanet session has been expired.
2019-12-27 13:27:09,432 P[36232] [Thread-9 32708] [Error 400 - access_denied] Refresh token does not exist.
2019-12-27 13:27:40,212 P[36232] [Thread-10 18244] [Error 400 - access_denied] Refresh token does not exist.
2019-12-27 13:28:04,967 P[36232] [Thread-11 4208] [Error 400 - access_denied] Refresh token does not exist.
2019-12-27 13:29:32,052 P[36232] [Thread-13 33972] [Error 400 - access_denied] Refresh token does not exist.
2019-12-27 13:29:51,392 P[36232] [Thread-14 9988] [Error 400 - access_denied] Refresh token does not exist.
2019-12-27 13:29:54,554 P[36232] [Thread-12 36664] [Error 400 - access_denied] Refresh token does not exist.
2019-12-27 13:30:00,300 P[36232] [Thread-8 34124] [Error 400 - access_denied] Refresh token does not exist.
2019-12-27 13:30:34,370 P[36232] [Thread-15 36644] [Error 400 - access_denied] Refresh token does not exist.
2019-12-27 13:30:44,013 P[36232] [Thread-16 31736] [Error 400 - access_denied] Refresh token does not exist.
2019-12-27 13:30:59,675 P[36232] [Thread-17 24556] [Error 400 - access_denied] Refresh token does not exist.