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 = {
"pair": row[0],
"trades": row[1],
"losses": row[6],
"wins": row[5],
"duration": row[4],
"profit_percent": row[2],
"losses": row[7],
"wins": row[6],
"duration": row[5],
"profit_mean_percent": row[2],
"profit_cum_percent": row[3],
"strategy": name,
"user": user,
"ticker": interval,