Spaces:
Sleeping
Sleeping
Commit
·
ec19f02
1
Parent(s):
6ad8efb
Update app.py
Browse files
app.py
CHANGED
@@ -614,6 +614,12 @@ def output_results(start_date, end_date, tickers_string):
|
|
614 |
ticker_string_growth = gr.Textbox("AAPL,AMZN,TSLA,NVDA,GOOGL,MSFT,NFLX,V,MA,CRM")
|
615 |
ticker_string_balanced = gr.Textbox("AAPL,JPM,JNJ,PG,KO,MSFT,PFE,VZ,MMM,WMT")
|
616 |
ticker_string_agressive = gr.Textbox("TSLA,AMZN,NVDA,GOOGL,SHOP,SQ,MRNA,ZM,SNOW,PTON")
|
|
|
|
|
|
|
|
|
|
|
|
|
617 |
|
618 |
|
619 |
# Interface =============================================
|
|
|
614 |
ticker_string_growth = gr.Textbox("AAPL,AMZN,TSLA,NVDA,GOOGL,MSFT,NFLX,V,MA,CRM")
|
615 |
ticker_string_balanced = gr.Textbox("AAPL,JPM,JNJ,PG,KO,MSFT,PFE,VZ,MMM,WMT")
|
616 |
ticker_string_agressive = gr.Textbox("TSLA,AMZN,NVDA,GOOGL,SHOP,SQ,MRNA,ZM,SNOW,PTON")
|
617 |
+
|
618 |
+
fig_efficient_frontier = gr.Plot(label="Efficient Frontier")
|
619 |
+
fig_corr = gr.Plot(label="Correlation between Stocks")
|
620 |
+
fig_indiv_prices = gr.Plot(label="Price of Individual Stocks")
|
621 |
+
fig_cum_returns = gr.Plot(label="Cumulative Returns of Individual Stocks Starting with $100")
|
622 |
+
|
623 |
|
624 |
|
625 |
# Interface =============================================
|