From d7e564f3cc204acfb255e1c1b4d6dcd3819eee50 Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Wed, 17 Jul 2024 22:16:30 +0200 Subject: [PATCH] Added USDT --- fin_defs/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fin_defs/__init__.py b/fin_defs/__init__.py index d441495..34b9f39 100644 --- a/fin_defs/__init__.py +++ b/fin_defs/__init__.py @@ -176,6 +176,7 @@ BTC = CryptoCurrency('BTC', coingecko_id='bitcoin') MPC = CryptoCurrency('MPC', coingecko_id='partisia-blockchain') SPX = Index('SPX') NDX = Index('NDX') +USDT = CryptoCurrency('USDT', 'tether') COMMON_NAMES: dict[Asset, list[str]] = { FiatCurrency('USD'): ['U.S. Dollar'], @@ -203,7 +204,7 @@ COMMON_NAMES: dict[Asset, list[str]] = { # Stable-coins CryptoCurrency('DAI', 'dai'): ['DAI'], CryptoCurrency('USDC', 'usdc'): ['USD Coin'], - CryptoCurrency('USDT', 'tether'): ['Tether USDT'], + USDT: ['Tether USDT'], } WELL_KNOWN_SYMBOLS = (