Markets end flat on Wednesday, Oct 6th