question

Upvotes
Accepted
1 0 0 0

Same RIC Different values for 2 Different Syntax

hi team, can you advise if it's expected that a user would get different BID and ASK values for the same RIC, which is RELI314000G.NS between the two syntaxes?


import refinitiv.data as rd
rd.open_session()
df = rd.get_data(
universe = ['RELI314000G.NS'],
fields = [
'BID',
'ASK'
]
)


display(df)



and



streams = rd.content.pricing.Definition(
universe=mainStockslist,
fields=['TRDPRC_1','BID', 'ASK']
).get_stream()

python#technologystreams
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvote
Accepted
24.3k 62 15 21

Hi @arnel.deleon,

The first API call is a snapshot request - i.e.reflects the data at that point in time, whereas the second call is a streaming data. For an instrument which is in a trading session, the streaming data will change frequently.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.