In one of your previous post you mentioned using python. May I know your roadmap of learning the python and using it? Not asking you to divulge your trading strategy.
I am not a developer, so maybe there is a better way, mine was to look into examples provided by the API providers... For sure my code is messy and not optimal, but it works and that is what matters to me...