Spaces:
Sleeping
Sleeping
Commit
·
f5dde1c
1
Parent(s):
02144c3
Update app.py
Browse files
app.py
CHANGED
@@ -669,7 +669,8 @@ with gr.Blocks() as demo:
|
|
669 |
with gr.Row():
|
670 |
fig_cum_returns_optimized = gr.Plot(label="Cumulative Returns of Optimized Portfolio (Starting Price of $100)")
|
671 |
weights_df = gr.DataFrame(label="Optimized Weights of Each Ticker")
|
672 |
-
|
|
|
673 |
with gr.Row():
|
674 |
fig_efficient_frontier = gr.Plot(label="Efficient Frontier")
|
675 |
fig_corr = gr.Plot(label="Correlation between Stocks")
|
@@ -678,6 +679,8 @@ with gr.Blocks() as demo:
|
|
678 |
fig_indiv_prices = gr.Plot(label="Price of Individual Stocks")
|
679 |
fig_cum_returns = gr.Plot(label="Cumulative Returns of Individual Stocks Starting with $100")
|
680 |
|
|
|
|
|
681 |
'''
|
682 |
btn.click(fn=output_results, inputs=[start_date, end_date, ticker_string],
|
683 |
outputs=[fig_cum_returns_optimized, weights_df, fig_efficient_frontier, fig_corr, \
|
|
|
669 |
with gr.Row():
|
670 |
fig_cum_returns_optimized = gr.Plot(label="Cumulative Returns of Optimized Portfolio (Starting Price of $100)")
|
671 |
weights_df = gr.DataFrame(label="Optimized Weights of Each Ticker")
|
672 |
+
|
673 |
+
'''
|
674 |
with gr.Row():
|
675 |
fig_efficient_frontier = gr.Plot(label="Efficient Frontier")
|
676 |
fig_corr = gr.Plot(label="Correlation between Stocks")
|
|
|
679 |
fig_indiv_prices = gr.Plot(label="Price of Individual Stocks")
|
680 |
fig_cum_returns = gr.Plot(label="Cumulative Returns of Individual Stocks Starting with $100")
|
681 |
|
682 |
+
'''
|
683 |
+
|
684 |
'''
|
685 |
btn.click(fn=output_results, inputs=[start_date, end_date, ticker_string],
|
686 |
outputs=[fig_cum_returns_optimized, weights_df, fig_efficient_frontier, fig_corr, \
|