Could you please add feature to Python refinitiv-dataplatform library to callback to an appliatio...

...n when Pricing Stream close?

For price streaming, I found that the refinitiv-dataplatform library doesn't call back to app when the stream is closed.

For example, when the account, which is used to login to rdp and request the streaming in first app(1st app), is logged in by another app (2nd app). The stream on 1st app is closed. However, the first app doesn't get any call back for status change. So that, application cannot handle this event to reopen the stream.

I am not sure if I miss something in my implementation, or the feature haven't been implemented. Could you please suggest?

Best Answer

  • pf
    pf LSEG
    Answer ✓

    This feature is already available in refinitiv-dataplatform library at session API level.
    When the stream is closed, on_event session callback should be called with Session.EventCode.StreamDisconnected event code.

    If you don't specify on_event callback in session parameters, you don't receive notification.

    If you specify it and don't receive notification, we'll investigate further.

Answers