Don't export "hum" date versions for trade objects.

They are not used and have a rather high performance penalty due to
using arrow.get
This commit is contained in:
Matthias
2021-04-13 06:17:11 +02:00
parent b60c2bc9b6
commit 9a58a85347
7 changed files with 1 additions and 19 deletions

View File

@@ -294,6 +294,7 @@ class Telegram(RPCHandler):
messages = []
for r in results:
r['open_date_hum'] = arrow.get(r['open_date']).humanize()
lines = [
"*Trade ID:* `{trade_id}` `(since {open_date_hum})`",
"*Current Pair:* {pair}",