Spaces:
Sleeping
Sleeping
Bhanu Prasanna
commited on
Commit
·
9134fda
1
Parent(s):
8c08ea9
Update main.py
Browse files
main.py
CHANGED
@@ -193,12 +193,10 @@ if number_of_symbols > 1:
|
|
193 |
tab1, tab2, tab3 = st.tabs(["Plots", "Annual Returns", "Montly Returns"])
|
194 |
|
195 |
with tab1:
|
196 |
-
|
197 |
plots.plot_annual_returns(annual_portfolio_returns)
|
198 |
plots.plot_cummulative_returns(cumulative_returns)
|
199 |
|
200 |
with tab2:
|
201 |
-
|
202 |
annual_portfolio_returns = summary_tables.annual_returns_dataframe(
|
203 |
annual_portfolio_returns
|
204 |
)
|
@@ -224,7 +222,6 @@ if number_of_symbols > 1:
|
|
224 |
st.dataframe(merged_annual_returns_data, use_container_width=True)
|
225 |
|
226 |
with tab3:
|
227 |
-
|
228 |
monthly_portfolio_return = summary_tables.monthly_returns_dataframe(
|
229 |
portfolio_returns
|
230 |
)
|
@@ -250,4 +247,4 @@ if number_of_symbols > 1:
|
|
250 |
)
|
251 |
|
252 |
st.write("Montly Return")
|
253 |
-
st.dataframe(merged_monthly_returns_data)
|
|
|
193 |
tab1, tab2, tab3 = st.tabs(["Plots", "Annual Returns", "Montly Returns"])
|
194 |
|
195 |
with tab1:
|
|
|
196 |
plots.plot_annual_returns(annual_portfolio_returns)
|
197 |
plots.plot_cummulative_returns(cumulative_returns)
|
198 |
|
199 |
with tab2:
|
|
|
200 |
annual_portfolio_returns = summary_tables.annual_returns_dataframe(
|
201 |
annual_portfolio_returns
|
202 |
)
|
|
|
222 |
st.dataframe(merged_annual_returns_data, use_container_width=True)
|
223 |
|
224 |
with tab3:
|
|
|
225 |
monthly_portfolio_return = summary_tables.monthly_returns_dataframe(
|
226 |
portfolio_returns
|
227 |
)
|
|
|
247 |
)
|
248 |
|
249 |
st.write("Montly Return")
|
250 |
+
st.dataframe(merged_monthly_returns_data, use_container_width=True)
|