protected override void OnBarUpdate()
{
if (Closes[0][0]!=0) Print(sec1name+" "+Closes[0][0]);
if (Closes[1][0]!=0) Print(sec2name+" "+Closes[1][0]);
}
Is it possible to specify instrument for SubmitOrder command?
Is there a possibility to calculate profit/loss for either first or second instrument separately?
Would this command GetAtmStrategyUnrealizedProfitLoss() show summary results for both instruments?
If it wouldn't what should i use in case I need summary position?
Comment