added percentages of market value to tables

This commit is contained in:
Manuel Simon Hirsig
2016-01-18 20:43:43 +01:00
parent ba96d13d7c
commit 094c9d015d
5 changed files with 161 additions and 32 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ function public.read_record(item_key)
day_count = tonumber(record[2]),
EMA5 = tonumber(record[3]),
EMA30 = tonumber(record[4]),
histogram = Aux.util.map(Aux.persistence.deserialize(record[5], ';'), function(value)
histogram = Aux.util.map(Aux.persistence.deserialize(record[5], ';', 'x'), function(value)
return tonumber(value)
end),
}
@@ -31,7 +31,7 @@ function private.write_record(item_key, record)
record.day_count,
record.EMA5,
record.EMA30,
Aux.persistence.serialize(record.histogram, ';'),
Aux.persistence.serialize(record.histogram, ';', 'x'),
},'#')
end