If you are new to programming you have a long road ahead of you. I suggest you get an expert to at least set up a framework for you.
I have such a framework which allows setting up a simple trading environment in less than a day (and yes I do remember the remarks from people in this group that it is "impossible"..... )
However I do not give it away for free. The cost is relatively limited compared to creating it yourself though (expect at least 6 months if you do it yourself - TWS API has a lot of quirks...)
Drop me an e-mail at fshsweden@... if you want to discuss this type of solution.
//Peter