question

Upvotes
Accepted
1 0 0 1

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 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
12.1k 59 39 61

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 512.0 KiB each and 1.0 MiB total.

Upvotes
15.1k 28 8 12

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 512.0 KiB each and 1.0 MiB total.