Stock market rebounds with N19bn gain