Hello,

while playing around with the CBT, I want to add trade by trade metrics as 
follows, but they don´t appear in the report.

Has anyone ad idea why?

for (trade = bo.GetFirstTrade(); trade; trade = bo.GetNextTrade())

{


trade.AddCustomMetric("Cash position", bo.cash);

trade.AddcustomMetric("Position size (# of shares)", trade.shares);

trade.AddCustomMetric("Position Value", sig.possize);

}

Reply via email to