i have developed a strategy which is running perfect for a Simulation Account but its not working with a LIVE Account.
The Strategy takes 1 Parameter as String, the AccountName must be entered. Like "Sim101", which is working all the time. This are my lines of code to get the MonitorAccount:
private Account MonitorAccount = null;
.....
if (State == State.Configure)
{
lock (Account.All)
MonitorAccount = Account.All.FirstOrDefault(a => a.Name == AccountName);
}
Is there maybe something else iam missing?, thx
Comment