string accnt = "&accnt=" + GetAccountValue(AccountItem.CashValue).ToString() + ":"
+ GetAccountValue(AccountItem.RealizedProfitLoss).To String();
Print( accnt );
string trd = "&trd=" + Position.GetProfitLoss(Close[0], PerformanceUnit.Points).ToString() + ":"
+ Position.Quantity.ToString() + ":"
+ Instrument.FullName.Split(' ')[0] + ":"
+ Position.AvgPrice.ToString() + ":" + Close[0];
GetAccountValue has a value of zero even though it is a valid and funded account. Does this call work or am I doing something wrong? I also would like to get the account number. And I want to check that if I call Polistion.Quantity I will get the number of contracts being traded?
I searched the help and the forum but no one else seems to have this problem.

Comment