Complex forecasting and investment strategy optimization via chain-of-thought of large language models | Synapse