added title
Browse files
app.py
CHANGED
@@ -92,6 +92,9 @@ def output_results(start_date, end_date, tickers_string):
|
|
92 |
|
93 |
|
94 |
with gr.Blocks() as app:
|
|
|
|
|
|
|
95 |
with gr.Row():
|
96 |
start_date = gr.Textbox("2013-01-01", label="Start Date")
|
97 |
end_date = gr.Textbox(datetime.datetime.now().date(), label="End Date")
|
@@ -100,7 +103,7 @@ with gr.Blocks() as app:
|
|
100 |
tickers_string = gr.Textbox("MA,META,V,AMZN,JPM,BA",
|
101 |
label='Enter all stock tickers to be included in portfolio separated \
|
102 |
by commas WITHOUT spaces, e.g. "MA,META,V,AMZN,JPM,BA"')
|
103 |
-
btn = gr.Button("
|
104 |
|
105 |
with gr.Row():
|
106 |
gr.Markdown("Optimizied Portfolio Metrics")
|
|
|
92 |
|
93 |
|
94 |
with gr.Blocks() as app:
|
95 |
+
with gr.Row():
|
96 |
+
gradio.HTML("<h1>Bohmian's Stock Portfolio Optimizer</h1>")
|
97 |
+
|
98 |
with gr.Row():
|
99 |
start_date = gr.Textbox("2013-01-01", label="Start Date")
|
100 |
end_date = gr.Textbox(datetime.datetime.now().date(), label="End Date")
|
|
|
103 |
tickers_string = gr.Textbox("MA,META,V,AMZN,JPM,BA",
|
104 |
label='Enter all stock tickers to be included in portfolio separated \
|
105 |
by commas WITHOUT spaces, e.g. "MA,META,V,AMZN,JPM,BA"')
|
106 |
+
btn = gr.Button("Get Optimized Portfolio")
|
107 |
|
108 |
with gr.Row():
|
109 |
gr.Markdown("Optimizied Portfolio Metrics")
|