You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Enrich it's always the same function that is used (with default EodRoundDown), which means that we can only use latest-prior EOD rate.
It would be great to update the enrichment to make it possible to decide which type of rate to use based on rateAt. Although not strictly required, the proper way would be to create a new schema with the different values in an enum.
At the moment the enrichment works only for some hard coded fields. It would be great to take the opportunity to make the list of fields configurable (e.g. like here).
The text was updated successfully, but these errors were encountered:
The config of the currency conversion enrichment exposes rateAt but it is never used.
Under the hood, the enrichment uses scala-forex (which is based on Open Exchange).
The API allows several types of conversion:
The type of rate being used depends on:
In Enrich it's always the same function that is used (with default EodRoundDown), which means that we can only use latest-prior EOD rate.
It would be great to update the enrichment to make it possible to decide which type of rate to use based on
rateAt
. Although not strictly required, the proper way would be to create a new schema with the different values in anenum
.At the moment the enrichment works only for some hard coded fields. It would be great to take the opportunity to make the list of fields configurable (e.g. like here).
The text was updated successfully, but these errors were encountered: