prasanth.thangavel
commited on
Commit
·
15ca7f4
1
Parent(s):
2b4eab3
Update app to support few cryptos
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ st.set_page_config(page_title="Asset Class Comparison", layout="wide")
|
|
16 |
# Title and description
|
17 |
st.title("Asset Class Performance Comparison")
|
18 |
st.write("Compare the performance of different asset classes over time")
|
19 |
-
st.write("Note:
|
20 |
|
21 |
# Sidebar for user inputs
|
22 |
st.sidebar.header("Investment Parameters")
|
@@ -49,6 +49,9 @@ selected_assets = st.sidebar.multiselect(
|
|
49 |
"Netflix",
|
50 |
"Meta",
|
51 |
"Bitcoin",
|
|
|
|
|
|
|
52 |
],
|
53 |
default=["Fixed Deposit", "Microsoft", "Google", "Nvidia"]
|
54 |
)
|
@@ -78,6 +81,9 @@ tickers = {
|
|
78 |
"Netflix": "NFLX",
|
79 |
"Meta": "META",
|
80 |
"Bitcoin": "BTC-USD",
|
|
|
|
|
|
|
81 |
}
|
82 |
|
83 |
# Determine the effective end date for each asset
|
|
|
16 |
# Title and description
|
17 |
st.title("Asset Class Performance Comparison")
|
18 |
st.write("Compare the performance of different asset classes over time")
|
19 |
+
st.write("Note: Cryptocurrencies (BTC, ETH, SOL, DOGE) are highly volatile and should be considered high-risk investments")
|
20 |
|
21 |
# Sidebar for user inputs
|
22 |
st.sidebar.header("Investment Parameters")
|
|
|
49 |
"Netflix",
|
50 |
"Meta",
|
51 |
"Bitcoin",
|
52 |
+
"Ethereum",
|
53 |
+
"Solana",
|
54 |
+
"Dogecoin",
|
55 |
],
|
56 |
default=["Fixed Deposit", "Microsoft", "Google", "Nvidia"]
|
57 |
)
|
|
|
81 |
"Netflix": "NFLX",
|
82 |
"Meta": "META",
|
83 |
"Bitcoin": "BTC-USD",
|
84 |
+
"Ethereum": "ETH-USD",
|
85 |
+
"Solana": "SOL-USD",
|
86 |
+
"Dogecoin": "DOGE-USD",
|
87 |
}
|
88 |
|
89 |
# Determine the effective end date for each asset
|