Trade and Investment Linkages and Stock Market Long‐Run Relationship