Skip to content

Commit

Permalink
add Euro back to list
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrtye committed Feb 23, 2024
1 parent a31ec30 commit 0537a99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apiserver/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)


Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0537a99

Please sign in to comment.