Where did you get most of the coding information to connect with IB and other related stuff? Thx.
The TWS API is simple, but it is missing a lot of pieces for a fully automated system. You need to write your own trade and position management, and real-time PnL/risk. You also need to consider the effect of pending/partial orders on your trading strategy.
The above link contains all the basics and examples and that’s where I got started.
Myself, I use C# because it’s very fast (to execute and to code), convenient, popular, with lots of features, and commercially supported (while being free, including free Visual Studio that is a great coding IDE).
Though many people use Java and Python. You can find many examples with source code in those languages by Googling.