Portfolio app teams can integrate the swap API to let users exchange holdings without leaving the product they are already using.