alexaxbreadbytes commited on
Commit
55cd5e3
·
1 Parent(s): 5573894

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -183,7 +183,7 @@ def load_data(filename, otimeheader, fmat):
183
  if filename == "CT-Trade-Log.csv":
184
  df.columns = ['Trade','Entry Date','Buy Price', 'Sell Price','Exit Date', 'P/L per token', 'P/L %', 'Drawdown %']
185
  df.insert(1, 'Signal', ['Long']*len(df))
186
- elif filename == "CC-Trade-Log.csv"):
187
  df.columns = ['Trade','Signal','Entry Date','Buy Price', 'Sell Price','Exit Date', 'P/L per token', 'P/L %', 'Drawdown %']
188
  else:
189
  df.columns = ['Trade','Signal','Entry Date','Buy Price', 'Sell Price','Exit Date', 'P/L per token', 'P/L %']
 
183
  if filename == "CT-Trade-Log.csv":
184
  df.columns = ['Trade','Entry Date','Buy Price', 'Sell Price','Exit Date', 'P/L per token', 'P/L %', 'Drawdown %']
185
  df.insert(1, 'Signal', ['Long']*len(df))
186
+ elif filename == "CC-Trade-Log.csv":
187
  df.columns = ['Trade','Signal','Entry Date','Buy Price', 'Sell Price','Exit Date', 'P/L per token', 'P/L %', 'Drawdown %']
188
  else:
189
  df.columns = ['Trade','Signal','Entry Date','Buy Price', 'Sell Price','Exit Date', 'P/L per token', 'P/L %']