Programmatic portfolio creation