Markets show resilience post-election; smallcaps outperform