feat(automatic-exchange-rates): add Synth Finance Stock

This commit is contained in:
Herculino Trotta
2025-03-01 22:40:50 -03:00
parent 9896044a15
commit c9b346b791
4 changed files with 86 additions and 0 deletions
@@ -6,6 +6,7 @@ from django.utils import timezone
from apps.currencies.exchange_rates.providers import (
SynthFinanceProvider,
SynthFinanceStockProvider,
CoinGeckoFreeProvider,
CoinGeckoProProvider,
)
@@ -17,6 +18,7 @@ logger = logging.getLogger(__name__)
# Map service types to provider classes
PROVIDER_MAPPING = {
"synth_finance": SynthFinanceProvider,
"synth_finance_stock": SynthFinanceStockProvider,
"coingecko_free": CoinGeckoFreeProvider,
"coingecko_pro": CoinGeckoProProvider,
}