add model
Browse files
app.py
CHANGED
@@ -37,8 +37,10 @@ def prophet_ts(symbol, periods = 10):
|
|
37 |
name = f"{symbol}_pred"
|
38 |
))
|
39 |
return fig
|
40 |
-
|
|
|
|
|
41 |
sb = st.text_input('Symbol', 'FPT')
|
42 |
-
periods = st.slider('
|
43 |
fig = prophet_ts(symbol=sb, periods = periods)
|
44 |
st.plotly_chart(fig, use_container_width=True)
|
|
|
37 |
name = f"{symbol}_pred"
|
38 |
))
|
39 |
return fig
|
40 |
+
|
41 |
+
st.title("Vietnam Trading by Time Series")
|
42 |
+
model = st.selectbox("model", ["ARIMA", "Propphet"])
|
43 |
sb = st.text_input('Symbol', 'FPT')
|
44 |
+
periods = st.slider('Period', 1, 365, 28)
|
45 |
fig = prophet_ts(symbol=sb, periods = periods)
|
46 |
st.plotly_chart(fig, use_container_width=True)
|