cyberosa commited on
Commit
60949bd
·
1 Parent(s): 18ab870

fixed the nr of mech calls

Browse files
Files changed (1) hide show
  1. tabs/daily_graphs.py +2 -2
tabs/daily_graphs.py CHANGED
@@ -73,8 +73,8 @@ def plot_daily_metrics(
73
  """Plots the trade metrics."""
74
 
75
  if metric_name == "mech calls":
76
- metric_name = "mech_calls"
77
- column_name = "num_mech_calls"
78
  yaxis_title = "Nr of mech calls per trade"
79
  elif metric_name == "ROI":
80
  column_name = "roi"
 
73
  """Plots the trade metrics."""
74
 
75
  if metric_name == "mech calls":
76
+ metric_name = "nr_mech_calls"
77
+ column_name = "nr_mech_calls"
78
  yaxis_title = "Nr of mech calls per trade"
79
  elif metric_name == "ROI":
80
  column_name = "roi"