The first four weeks of President Donald Trump’s second term have had it all. But the stock market has shown its resilience.