Add cryptocurrency support to stock display system. Added crypto configuration section and updated StockManager to handle both stocks and crypto symbols with separate icons and caching.

This commit is contained in:
ChuckBuilds
2025-04-23 15:54:51 -05:00
parent d93f853490
commit 9c1220b605
2 changed files with 87 additions and 75 deletions

View File

@@ -57,7 +57,15 @@
"enabled": true,
"update_interval": 300,
"symbols": [
"ASTS", "SCHD", "INTC", "NVDA", "T", "VOO", "SPYG", "SMCI"
"ASTS", "SCHD", "INTC", "NVDA", "T", "VOO", "SPEST", "SMCI"
],
"display_format": "{symbol}: ${price} ({change}%)"
},
"crypto": {
"enabled": true,
"update_interval": 300,
"symbols": [
"BTC-USD", "ETH-USD"
],
"display_format": "{symbol}: ${price} ({change}%)"
},