Commit
·
73a0272
1
Parent(s):
3a4d653
adjusting the text of the metrics description
Browse files- tabs/metrics.py +10 -11
tabs/metrics.py
CHANGED
@@ -239,14 +239,13 @@ def plot_tool_metrics(wins_df: pd.DataFrame, winning_selector: str) -> gr.Plot:
|
|
239 |
yaxis_title = "Gross profit per trade (xDAI)"
|
240 |
|
241 |
|
242 |
-
def get_trade_metrics_text(
|
243 |
-
metric_text =
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
return gr.Text(label=metric_text)
|
|
|
239 |
yaxis_title = "Gross profit per trade (xDAI)"
|
240 |
|
241 |
|
242 |
+
def get_trade_metrics_text() -> gr.Markdown:
|
243 |
+
metric_text = """
|
244 |
+
## Description of the graph
|
245 |
+
These metrics are computed weekly. The statistical measures are:
|
246 |
+
* min, max values, 25th(q1), 50th(median), 75th(q2) percentiles
|
247 |
+
* the upper and lower fences to delimit possible outliers
|
248 |
+
* the average values as the dotten lines
|
249 |
+
"""
|
250 |
+
|
251 |
+
return gr.Markdown(metric_text)
|
|