diff --git a/apiserver/main.py b/apiserver/main.py index b5cbdc1..e137c6d 100644 --- a/apiserver/main.py +++ b/apiserver/main.py @@ -30,7 +30,7 @@ xui_session = requests.Session() tickers = yfinance.Tickers( - "^IXIC ^GSPC 000001.SS AAPL GOOG NVDA TSLA GBPCNY=X CNY=X CADCNY=X BTC-USD ETH-USD" + "^IXIC ^GSPC 000001.SS AAPL GOOG NVDA TSLA GBPCNY=X EURCNY=X CNY=X CADCNY=X BTC-USD ETH-USD" ) @@ -142,7 +142,7 @@ def update_currency_status(): global exchange_status try: - info = get_info_by_ticker("GBPCNY=X CNY=X CADCNY=X") + info = get_info_by_ticker("GBPCNY=X EURCNY=X CNY=X CADCNY=X") for ticker, value in info.items(): exchange_status[ticker] = value