Turkish stocks up 0.40% at close