Softer limit on datadownload last timestamp

It can now be up to 10 minutes old, instead of 1 minute before
Fix incorrect max_consecutive_profit calculation