question

Upvotes
Accepted
21 0 1 4

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.

python#technologystreaming-prices
icon clock
10 |1500

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

1 Answer

· Write an Answer
Upvotes
Accepted
17.1k 80 39 63

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



1709328663557.png (12.9 KiB)
1709328620094.png (67.2 KiB)
icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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