
Tesla said Tuesday it signed an agreement to build a factory in China to make its electric cars.
The news comes days after the automaker has had to raise prices 20 percent in China to respond to import tariffs.
Tesla said it expects construction to begin "in the near future, after we get all the necessary approvals and permits." From there, it will take about two years before Tesla can start making cars, and another two to three years before the factory is fully ramped up to its capacity of 500,000 cars.
Shares of the company climbed nearly 2 percent Tuesday morning.
“It is always interesting to see how the shares react," CFRA analyst Efraim Levy told CNBC. "A lot of times it seems news is good news for them.”

The pop in Tesla's share price is striking, he said, because the already cash-strapped Tesla just essentially made another financial commitment.
"Even though a Gigafactory in China has been anticipated, now they have an agreement to finance the building of it," he said. "That will put pressure on an already stressed balance sheet.”
Even prior to Tuesday's announcement many on Wall Street expected Tesla will need to raise capital sometime in the near future. Excluding its new commitments in China, Tesla will still have to raise $2 billion-$3 billion as an operational cushion some time around the first quarter of next year, Levy said.
On the other hand, China is on its way to becoming the world's largest market for electric vehicles, and Tesla stands to sell a lot of cars there, he said.
Here is a full statement from Tesla: