question

Upvotes
Accepted
5 1 1 4

Keep getting RT_ITEM_STALE status when subscribing for live prices

I'm using the AdxRtList COM API in my C++ application to subscribe for market data. When I subscribe for prices for any given RIC code, I immediately get RT_ITEM_STALE status passed back to the listener. I'm making the same set of calls as in the AdxRtList example, which works fine, so I have no idea what could be causing the RT_ITEM_STALE status to be sent when I make the same calls within my application.

eikoneikon-com-apic++
icon clock
10 |1500

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

Upvotes
Accepted
5 1 1 4

It looks like the issue was to do with my code not using the correct character encoding. When setting the source, my code was essentially only sending the first letter, resulting in RT_ITEM_STALE responses.

icon clock
10 |1500

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

Upvote
39.2k 75 11 27

Hi @Tristan,

I don't recall having seen the behavior you describe. At the risk of stating the obvious, if the example works as expected, the problem must be within your code. I'm afraid there's not much more I can add based solely on the information provided. Perhaps you might want to create a new project aiming at a simple example? If you can reproduce the issue with this simple example, you may want to post it here. And if you cannot reproduce the issue, it may help you figure out what you did differently in your current project.

icon clock
10 |1500

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

Upvotes
39.2k 75 11 27

Thanks @Tristan,

I'm glad you got it resolved.

Best regards from Thomson Reuters team.

icon clock
10 |1500

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

Click below to post an Idea Post Idea