Quote

But how do I see how many open positions the account has for an asset?


NumOpenLong
NumOpenShort
NumOpenTotal

I do remember something written along the lines of managing portfolio strategies on the manual.

One topic was Markowitz optimization. Might be what you need or perhaps - lead to something else that's useful.

Last edited by Lapsa; 08/27/21 14:35.