Add title and custom symbol
Browse files
app.py
CHANGED
@@ -31,8 +31,8 @@ def prophet_ts(symbol, periods = 10):
|
|
31 |
name = f"{symbol}_pred"
|
32 |
))
|
33 |
return fig
|
34 |
-
st.title("Trading
|
35 |
sb = st.text_input('Symbol', 'FPT')
|
36 |
-
periods = st.slider('
|
37 |
fig = prophet_ts(symbol=sb, periods = periods)
|
38 |
st.plotly_chart(fig, use_container_width=True)
|
|
|
31 |
name = f"{symbol}_pred"
|
32 |
))
|
33 |
return fig
|
34 |
+
st.title("Vietnam Trading by Prophet")
|
35 |
sb = st.text_input('Symbol', 'FPT')
|
36 |
+
periods = st.slider('period', 1, 365, 28)
|
37 |
fig = prophet_ts(symbol=sb, periods = periods)
|
38 |
st.plotly_chart(fig, use_container_width=True)
|