question

Upvotes
Accepted
33 9 12 29

RTDS niprovider with customized fields

EMA Java in Real Time Distribution System.
I would like to develop a non interactive provider in the deployed RTDS env. Basically there will be groups of fields need to be created (e.g., Name_1, Date_1, Value_1, Name_2, Date_2, Value_2, Name_3, Date_3, Value_3).
1. Is that doable? Looks like it need to create some customized dictionary?
2. In such case, which data model should I use? some flat fields as the 'MARKET PRICE' domain or map entries as the 'MARKET BY ORDER' / 'MARKET BY PRICE' domain?

ema-api
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.

The Value_* is of 'real' typed value.

1 Answer

· Write an Answer
Upvotes
Accepted
25.3k 87 12 25

Hi @Frederic

If the list of fields is going to be limited to say 1-5 name, value and date fields, then I would always recommend re-using existing suitable fields e.g.

VALUE_DT1 - VALUE_DT5 (date type)

SEC_ACT_1 - SEC_ACT_5 (Real64 type)

ROW80_1 - ROW81_5 (Alphanumeric)

There may be others they can find in the RDMFieldDictionary file that is supplied with RT-SDK

Even if they need 1-10 fields, there may be others in the dictionary that could be re-purposed e.g. STLVAL1_1 - STLVAL1_10

The reason we say this is that a custom dictionary requires a maintenance overhead, ensuring it is available to all consumers in the organisation via the RTDS servers (or if some are using local dictionaries). Every time a new official dictionary is released, the RTDS and local dictionaries have to be updated to include your custom fields. If a new version is installed without the custom fields being added, this can result in applications throwing exceptions because they receive a payload containing a custom field that is missing from the local or downloaded dictionary.

If they do require more than 1-5 or 1-10 fields and they cannot repurpose existing fields, then they could re-use the MarketByPrice or MarketByOrder domain depending on their requirements.


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.

Many thanks for the guidance.

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.