1b.app
Link copied -

Cross exchange rate

Цікавить робота з валютами в системі?
У нас є спеціальний компонент який полегшить роботу! Переглянути компонент
Boxing currency is USD.
Required to secure the euro exchange rate not to the hryvnia, but to the boxing currency.
How many loans dorobka?
We noted that the hryvnia exchange rate is not updated, as we set auto-update. Can you fix it?
Original question is available on version: ru

Answers:


Elena Zaitseva wrote:
Required to secure the euro exchange rate not to the hryvnia, but to the boxing currency.

The API of the same NBU (which you use for auto-updating) issues rates relative to the state currency https://bank.gov.ua/NBUStatService/v1/statdirectory/exchange?date=20210611&j...
You can calculate it only by redoing the logic of the handler for calculating the exchange rate not relative to the state currency - such a refinement for 1 handler will take about 3 hours (in your case, the processor "National Bank of Ukraine").
Bill?

Elena Zaitseva wrote:
We noted that the hryvnia exchange rate is not updated, as we set auto-update. Can you fix it?

The hryvnia exchange rate against the state currency is 1. And it is not in the issuance of the API, which is used for auto-updating.
The revision proposed above will solve this, the rate will be updated to the one indicated for the base currency EUR
11.06.2021, 09:16
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment