stocks rise depite weakness in oil, gold prices