extended search signature, added green price indicator for your high bids in search, working on changing the day interval implementation in history

This commit is contained in:
Manuel Simon Hirsig
2016-02-12 01:38:44 +01:00
parent bb5c411fc2
commit 28d456e5f3
3 changed files with 11 additions and 3 deletions
+8
View File
@@ -3,6 +3,14 @@ Aux.history = public
private.PUSH_INTERVAL = 57600
function private.hours_left_in_day()
return 24 - tonumber(date('%H'))
end
function private.time_until_next_push()
return time() + private.hours_left_in_day * 3600
end
function private.new_record()
return { next_push = time() + private.PUSH_INTERVAL, market_values = {} }
end