One suggestion so far: I would love it if the command NTMarketposition would return the number of contracts/shares as well as the marketposition. The dll seems incomplete without that capability. I am deploying a strategy that trades just one contract of the YM all day, always in the market. If I am off by one contract then the whole thing is off pretty badly for the day if the one extra contract is not in the market direction.
I can write a unit of code to keep track of all the order id's and their positions to make sure I am not holding more than one contract in either direction but it is extra code and extra cpu cycles and I'm guessing that the IB API would give up the number of contracts if the dll asked for it.
Comment