Can a Simulated Account be created for the Connection Dynamically ?
I see NinjaTrader has APis for the above.
Connection newConnection = Connection.Connections.FirstOrDefault(c=>c.Options .Name="Client1"); // Client1 Connection Name will be configured from NinjaTrader UI
newConnection.Options.Password="xyz"; // Password will be retreived via an API from Vault
newConnection.Options.User="abc"; // Username will be retreived via an API from Vault
Connection.Connect(newConnection.Options);
newConnection.CreateAccount("SimClient1", "SimClient1", "", Currency.UsDollar); // AccountName will be retreived via an API from Vault
Comment