Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
23 0 0 3

Best way to get USDSOFR= Bid/Ask in C#

I need to get the Bid/Ask for USDSOFR= in C#.

This value doesn't update often, so I don't need streaming or any such real-time updating.

I just need to query once and get whatever the value is at that moment in time.

Can you please let me know what the preferred way of doing this is using the C# data API?

eikon-data-api#product
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.

Upvotes
Accepted
23.1k 60 15 21

Hi @jiah,

You can use the Refinitiv Data Library for .NET. For getting data from Eikon, use the desktop session in the configuration.

See the realtime snapshot example for polling the real time data.

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.

Upvotes
23 0 0 3

Thank you Gurpreet. I have looked at those examples and see they are using the RDP method of doing things. Right now, my account is not provisioned for that. I have had success doing raw queries before using the Desktop method. Can you let me know if this same price snapshot query for USDSOFR= is possible to do using the Desktop method?


Thanks.

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.

Upvotes
23.1k 60 15 21

Hi @jiah,

The streaming cache example should work with the desktop session.

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.

Upvotes
23 0 0 3

I have this working, thank you.

For anyone interested, the symbols to query are:

"USDSOFR=",
"/.SR1M",
"/.SR3M",
"/.SR6M",
"/.SR1Y"

And the fields are:

"DSPLY_NAME", "CF_LAST"
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.