feat(automatic-exchange-rates): add Transitive rate provider

This commit is contained in:
Herculino Trotta
2025-03-01 22:58:33 -03:00
parent c9b346b791
commit d3ea0e43da
4 changed files with 114 additions and 2 deletions
@@ -9,6 +9,7 @@ from apps.currencies.exchange_rates.providers import (
SynthFinanceStockProvider,
CoinGeckoFreeProvider,
CoinGeckoProProvider,
TransitiveRateProvider,
)
from apps.currencies.models import ExchangeRateService, ExchangeRate, Currency
@@ -21,6 +22,7 @@ PROVIDER_MAPPING = {
"synth_finance_stock": SynthFinanceStockProvider,
"coingecko_free": CoinGeckoFreeProvider,
"coingecko_pro": CoinGeckoProProvider,
"transitive": TransitiveRateProvider,
}