Ejemplo n.º 1
0
        public override void Execute()
        {
            if (this.TUdREdiNP8 is FreeQuant.Trading.Entry)
            {
                FreeQuant.Trading.Entry entry = this.TUdREdiNP8 as FreeQuant.Trading.Entry;
                switch (this.eASRvQmqnG)
                {
                case SignalItemType.Long:
                    entry.LongEntry();
                    break;

                case SignalItemType.Short:
                    entry.ShortEntry();
                    break;
                }
            }
            if (!(this.TUdREdiNP8 is Exit))
            {
                return;
            }
            Exit exit = this.TUdREdiNP8 as Exit;

            switch (this.eASRvQmqnG)
            {
            case SignalItemType.Long:
                exit.LongExit();
                break;

            case SignalItemType.Short:
                exit.ShortExit();
                break;
            }
        }
Ejemplo n.º 2
0
 public EntryRule(FreeQuant.Trading.Entry entry)
 {
     this.A6AjNEf2lw = entry;
     this.mYhjgGMMit();
 }
Ejemplo n.º 3
0
		public EntryRule(FreeQuant.Trading.Entry entry)
    {
      this.A6AjNEf2lw = entry;
      this.mYhjgGMMit();
    }