Update app.py
Browse files
app.py
CHANGED
@@ -78,8 +78,8 @@ ticks = pd.read_csv("100_tick.csv")
|
|
78 |
clck = ticks['Symbol'].values
|
79 |
selected_option = st.selectbox("Select an Stock",clck)
|
80 |
st.write("You selected: ", selected_option)
|
81 |
-
tim = st.text_input("time frame ex: 1y,2y,100d,10d..")
|
82 |
-
std = st.text_input("Standard devation, like 5,6,7,8,9....")
|
83 |
backtest = Backtest(selected_option, tim, int(std))
|
84 |
st.pyplot(plt)
|
85 |
profits = backtest.profit.iloc[:, 0]
|
|
|
78 |
clck = ticks['Symbol'].values
|
79 |
selected_option = st.selectbox("Select an Stock",clck)
|
80 |
st.write("You selected: ", selected_option)
|
81 |
+
tim = '1y'#st.text_input("time frame ex: 1y,2y,100d,10d..")
|
82 |
+
std = 8 #st.text_input("Standard devation, like 5,6,7,8,9....")
|
83 |
backtest = Backtest(selected_option, tim, int(std))
|
84 |
st.pyplot(plt)
|
85 |
profits = backtest.profit.iloc[:, 0]
|