Is there a way to allocate positions within a single IB account into various strategies, when querying the account's positions through API?
For example:
Strategy A: Long 5 shares of IBM, short 10 ESH3 futures contracts
Strategy B: Long 50 ESH3 futures.
If i were to query position across the entire account, I would see +5 shares of IBM, and -40 ESH3 futures.
I would LIKE to see the position broken out into constituent strategies:
Strategy A= +5 shares of IBM; - 10 ESH3 futures,
Strategy B = +50 ESH3 Futures.
Is this something that IB supports - at least through its APIs?
For example:
Strategy A: Long 5 shares of IBM, short 10 ESH3 futures contracts
Strategy B: Long 50 ESH3 futures.
If i were to query position across the entire account, I would see +5 shares of IBM, and -40 ESH3 futures.
I would LIKE to see the position broken out into constituent strategies:
Strategy A= +5 shares of IBM; - 10 ESH3 futures,
Strategy B = +50 ESH3 Futures.
Is this something that IB supports - at least through its APIs?