Open aries1998 opened 7 years ago
I'll need to double check on this one. I've only been implementing the functionality as I have needed it, and it could be that the getAllPositions() method is currently stubbed out right now. I'll let you know.
thanks for your replay.
It seems the simplest way to do is assemble the Posistion
And i think maybe Position
I started to implement this and then remember why I had not fully implemented it yet. There are builder classes to take a Ticker object and convert it into a Contract object which the IB API uses. However there are not yet any builders which will take an IB Contract object and convert it into a Ticker object. The IB position() callback method returns an IB Contract object, so I'll need to create a builder to translate this to a Ticker object.