Stocks smash records as investors shrug off US violence