Spaces:
Sleeping
Sleeping
anaucoin
commited on
Commit
•
5f0241d
1
Parent(s):
e08d103
exception catches
Browse files
app.py
CHANGED
@@ -55,8 +55,7 @@ def get_rolling_stats(df, lev, otimeheader, days):
|
|
55 |
return 100*lev*rolling_perc
|
56 |
|
57 |
@st.experimental_memo
|
58 |
-
def filt_df(
|
59 |
-
df: pd.DataFrame, cheader : str, symbol_selections: list[str]) -> pd.DataFrame:
|
60 |
"""
|
61 |
Inputs: df (pd.DataFrame), cheader (str) and symbol_selections (list[str]).
|
62 |
|
@@ -118,7 +117,7 @@ def load_data(filename, otimeheader, fmat):
|
|
118 |
df.loc[ind,'DCA'] = i+1
|
119 |
return df
|
120 |
|
121 |
-
def runapp()
|
122 |
bot_selections = "Cinnamon Toast"
|
123 |
otimeheader = 'Entry Date'
|
124 |
fmat = '%Y-%m-%d %H:%M:%S'
|
|
|
55 |
return 100*lev*rolling_perc
|
56 |
|
57 |
@st.experimental_memo
|
58 |
+
def filt_df(df, cheader, symbol_selections):
|
|
|
59 |
"""
|
60 |
Inputs: df (pd.DataFrame), cheader (str) and symbol_selections (list[str]).
|
61 |
|
|
|
117 |
df.loc[ind,'DCA'] = i+1
|
118 |
return df
|
119 |
|
120 |
+
def runapp():
|
121 |
bot_selections = "Cinnamon Toast"
|
122 |
otimeheader = 'Entry Date'
|
123 |
fmat = '%Y-%m-%d %H:%M:%S'
|