Behavioural investors in multiperiod markets