rd.content.pricing.Definition issues

Hi ,

Can you please provide the exact syntax or the exact github section for the remove_instruments and add_instruments methods which are used in rd.content.pricing.Definition function for streaming prices to add and remove assets dynamically from the instruments list for receiving prices.

Best Answer

  • nick.zincone
    Answer ✓

    Hi @peeush

    When you define a stream, you can perform a help(stream) and see the exact syntax. For example, here is how to add an instrument:

    1709328663557.png

    And the following, is an example I put together to demonstrate:

    1709328620094.png