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 ?
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.
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.