I have a strategy that has two sets of opening conditions: one long and one short. I use IOrders, so their respective names are LLA and SRA.
I am now coding a certain aspect of my strategy where I would like to check whether the price of an opened position is above (or below) certain level. I tried
SRA.AvgPrice < Close[0]
I know that
Position.AvgPrice < Close[0]
Thank you for your consideration !!
Comment