Skip to content

Commit

Permalink
add ETH to list
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrtye committed Feb 23, 2024
1 parent c0e7bc6 commit a31ec30
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"
"^IXIC ^GSPC 000001.SS AAPL GOOG NVDA TSLA GBPCNY=X CNY=X CADCNY=X BTC-USD ETH-USD"
)


Expand Down Expand Up @@ -158,7 +158,7 @@ def update_crypto_status():
global exchange_status

try:
info = get_info_by_ticker("BTC-USD")
info = get_info_by_ticker("BTC-USD ETH-USD")

for ticker, value in info.items():
exchange_status[ticker] = value
Expand Down

0 comments on commit a31ec30

Please sign in to comment.