New York stock exchange opens flat, Nasdaq gains 0.3%