updated lambda to reduce traffic

This commit is contained in:
Gert Wohlgemuth 2018-06-06 20:06:16 -07:00
parent cfb436c1d8
commit 7e8d903bf4

View File

@ -191,10 +191,11 @@ def _store_aggregated_data(interval, name, result, timerange, user):
data = { data = {
"pair": row[0], "pair": row[0],
"trades": row[1], "trades": row[1],
"losses": row[6], "losses": row[7],
"wins": row[5], "wins": row[6],
"duration": row[4], "duration": row[5],
"profit_percent": row[2], "profit_mean_percent": row[2],
"profit_cum_percent": row[3],
"strategy": name, "strategy": name,
"user": user, "user": user,
"ticker": interval, "ticker": interval,