Websocket API batch sample for EDP

Hi, I’m looking for a sample script similar with market_price_edpgw_service_discovery.py, (to be used with EDP) but capable to support multiple RICS (batch) also with the possibility to specify only some fields into the code. Anyone has a sample to help to me? Thanks in advance!

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello @caio.zentil

    For the batch subscriptions, you can just change value the Name attribute in the JSON request message from a single string ("EUR=") to an array of string (["EUR=","JPY=","GOOG.O"]).
    Please find more detail regarding the Batch Request in this tutorial.

Answers