question

Upvotes
Accepted
1 0 1 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-sdkema-apirrtelektron-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
17.7k 82 39 63

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
25.1k 57 17 14

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.

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.