From 5dc94a23fcd4f24f9fbdc721b471dacb08281587 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Tue, 19 Jan 2016 12:25:11 +0100 Subject: [PATCH] small change in market value --- history.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/history.lua b/history.lua index cffe8cb..bab6314 100644 --- a/history.lua +++ b/history.lua @@ -76,6 +76,8 @@ function public.market_value(item_key) if day_count == 0 then return daily_market_value + elseif correlation < (trend < 1 and trend or 1 / trend) then -- history of bad predictions + return EMA7 else return EMA7 * trend end