If (execution.Name == "Long AAPL") do this..............
However when some strategy is stoped .. execution.Name will be "stop loss" :for all.
So, I ve tried
if (execution.Name == "Long AAPL" ) && (execution.Instrument == "AAPL) do this,,,,
but the system is not accepting it..
Any clue?
Comment