I want to actively manage my investment portfolio based on real-time market conditions. Can you develop a tool that tracks market data, economic indicators, and news events to provide dynamic investment recommendations and optimize my portfolio accordingly? Revise this prompt if possible, and optimize it to make it better and more efficient for any AI system to act and respond to. If possible run your optimized version.