I am new to the IBKR API and I'm trying to figure out where to put my "if-condition" that checks whether a condition is true or not, and then proceed to make a trade (or not).
I understand that there are a lot of callback-methods that is being called after the connection is established, and...