예제 #1
0
		public static void Send(string strategy, string text)
		{
            UserCommand command = new UserCommand(strategy, new OpenQuant.API.UserCommand(DateTime.Now, text));
			UserCommandManager.commands.Add(command);
            if (UserCommandManager.NewCommand != null)
    			UserCommandManager.NewCommand(typeof(UserCommandManager), new UserCommandEventArgs(command));
		}
예제 #2
0
 public UserCommandEventArgs(UserCommand command)
 {
     this.Command = command;
 }
예제 #3
0
		public UserCommandEventArgs(UserCommand command)
		{
			this.Command = command;
		}