I am running on the same instrument two different strategies: one enters only long, the other enters only short. Only 1 contract is traded for each of them.
In some cases it could happen that both have an open position, therefore MarketPosition = Flat, but Strategy1 = Long and Strategy2 = Short.
The information about the 2 strategies is correctly reported in the "Strategies" Tab: 1L and 1S.
My question is the following: is there a way to detect in my script what the Strategy Position is?
I know about Position.MarketPosition, but Position.StrategyPosition or something equivalent is missing as far as I know. Is there any other option to get the Strategy Position, without having to follow every entry and exit within the script?
Thank you
Martin



Comment