question

Upvotes
Accepted
185 6 12 26

PROD_PERM and DACS getPeList function for real and delayed symbols

We are receiving DACS response and reading data returned by getPeList which is vector of unsigned int.

We need to know how to interpret numbers, there is no information in DACS docs unfortunately. We need to know actually only one thing - whether authorization response came on actual or delayed symbol. in out case real time PE is always 5625 and for delayed symbols it is 9241.

We are using Open DACS and RFA 8.0 C++

DACSopen-dacs
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.

@mktdata

Hi,

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

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

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS

Upvotes
Accepted
79.2k 251 52 74

@mktdata

PE can be mapped to DACS subservices which are assigned to DACS users.
1624336809772.png

For example, from the above picture. PE 5625 is mapped to LSE1D (exchange subservice) and GBSE3PRIPD (product subservice). To subscribe to the item with PE 5625, the DACS user must have both LSE1D and GBSE3PRIPD in the profile.

You can use the getPeToSubServiceList() method is used to lookup within DACS, the PE to subservice authorization values that have been assigned to the referred to service.

For more information, please refer to Tutorial 4 - Content Based Entitlements (CBE).


1624336809772.png (133.6 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.

Upvote
32.2k 40 11 20

Hello @mktdata ,

If my understanding is correct, you are trying to understand, for each of the PEs returned per user if it is a realtime PE or a delayed PE?

The way I can think of obtaining this information, you would need to obtain a DACS lock per realtime item (for example, subscribe IBM.N), and a DACS lock per delayed realtime item (for example, subscribe delayed /IBM.N), and each will carry it's lock, you will see the PE assigned, to this item, and therefore to this type of item per exchange. The information would repeat for each type of instrument that you require, so you would need to run this once, per type of instrument required.

Perhaps not directly relevant, Open DACS Permission Server (ODPS) interface includes function itemToPE that is intended to obtain this information, to map item to it's PE(s).

Hope this info helps

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.