Perhaps my point was a bit obtuse so let me make it less subtle so you understand.
Giving Trump sole credit for the stock market is akin to giving Hoover sole blame for 1929 or Truman sole blame for having a lower stock market in 1950 than existed in 1928, or Bush sole blame for 2008 or Bush Sr. sole credit for 1989.
Do you follow now?