question

Upvotes
Accepted
21 0 1 5

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.

@peeush

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Hi @peeush ,

Please note that the answer below was marked as correct and accepted. Please do let us know if that's incorrect.

1 Answer

· Write an Answer
Upvotes
Accepted
17.4k 82 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.