add applyto enum type
add portfolio analyzer