Technology Sector and Trade Optimism Drive Market Gains; Teradyne Leads Chip-Related Advance