question

Upvotes
Accepted
1 0 0 0

NIProvider : Encode a Currency

Hello

I am a new developer on Elektron C++ API and i would like to create a NIProvider.

I have several questions on how to use dictionary to encode a "CURRENCY" field ? How to retrieve the FID and how to encode the enum value ? How to initialize the dictionary ?

Regards

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apinon-interactive-provider
icon clock
10 |1500

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

Upvotes
Accepted
9.7k 49 38 60

Hi @remi.ramond,

You can find a series of tutorials related to building an NIProvider. In there, you will find details related to dictionaries. You will typically load the dictionary files as text files you need to retrieve from your TREP administrator. Refer to the above link for more details.

icon clock
10 |1500

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

Upvotes
11.5k 16 7 10

Hello @remi.ramond

Beside a series of tutorials that my colleague has mentioned above, you can find the enumerate field (CURRENCY, ORDER_SIDE fields, etc) encoding example in ETA C++ NIProvider 110_MarketByOrder_Streaming example. The NIProvider dictionary example is 350__Dictionary__Streaming.

icon clock
10 |1500

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

Click below to post an Idea Post Idea