send data to adh with python

Hi - I would like to send some data to an internal source using python - do you have any examples of how to bring up a source app and send data please?

Ideally my python script would advertise a port, which the adh would connect to and then i send the data directly to the adh.

Thanks

Martin

Tagged:

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello @martin.gregory

    Please be informed that we have only a plan for the SDK C# edition only, you can find more detail from the RTSDK roadmap page (note: the items and date information are subject to change).

    You can submit an enhancement request to the product team about the Python SDK via the https://my.refinitiv.com/content/mytr/en/feedback.html page.

    Additionally, can you clarify this "it means I need another source app to host the source to accept the SSL inserts I think?" message?

    The ADS' WebSocket connection supports the Post/Contribution feature. The consumer-source application can connect to the ADS via the WebSocket connection, then contribute data directly to the ADS via the Post message (in JSON message format) as the following diagram. The ADS automatics convert the Post JSON message to Refinitiv Real-Time format and post that data to the ADH server.

    websocket-posting.png

    The ADH server can be configured a "cache-service" for receiving and caching the Post data without the source application via the cacheServiceList parameter:

    cacheservicelist.png

    You can find more detail about the ADH and Posting message configurations in section 13 "OMM Posting and SSL Inserts" of the ADH document.


Answers