I want to build an equity index. I have the companies that will go in the index. I need to automate the process of calculating real-time return. Also, I need help in being able to add or remove names. One somewhat unusual criteria is that the market caps of certain companies need to be limited.