Hi there,
I rad you project and it is interesting. In fact, I have developed several bots for Interactive Brokers so far and I may include that they have one of the best API Integrations I've worked on. I am an IT engineer and I work exclusively with Financial projects,
In your specific case, it is very simple and of course, it can be built in excel, c#, python or Java... I can see the rules you want to apply and are quite reasonable, nothing complicated, which is good.
I placed 10 days on my bid, 7 days to deliver your solution and 3 more just in case you need anything else. If you have any question just let me know.
Regards,
Jhonny P.