I have the components of a trading robot. This follows the architecture of:
My question is:
For a (simplified) example, I do not feel the following would be good practice:
The main point of the above being everything instantiates everything else, so nothing is operating independently (thus reduced redundancy).
But I also don't feel like one class which instantiates everything and manages the interactions is good practice.
Can anyone advise?
This is why people use IoC, it solves this problem. https://en.wikipedia.org/wiki/Inversion_of_control
Look at your language/framework stack, and search for an IoC library, it will likely fix most of your issues.