예제 #1
0
파일: DataManager.cs 프로젝트: heber/FreeOQ
 public static void Add(Instrument instrument, CorporateAction corporateAction)
 {
     DataManager.Add(instrument, SUFFIX_CORPORATE_ACTION, corporateAction);
 }
예제 #2
0
파일: DataManager.cs 프로젝트: heber/FreeOQ
 public static void Add(string series, CorporateAction corporateAction)
 {
     DataManager.server.Add(series, corporateAction);
 }
예제 #3
0
파일: DataManager.cs 프로젝트: heber/FreeOQ
 public static void Add(Instrument instrument, string suffix, CorporateAction corporateAction)
 {
     DataManager.Add(instrument.Symbol + SERIES_SEPARATOR + suffix, corporateAction);
 }
예제 #4
0
 protected virtual void OnNewCorporateAction(Instrument instrument, CorporateAction corporateAction)
 {
 }
예제 #5
0
    internal void a4glMfvIc(Instrument obj0, CorporateAction obj1)
    {
      if (!this.isActive)
        return;
      if (Trace.IsLevelEnabled(TraceLevel.Verbose))
				Trace.WriteLine(string.Format("fdfs", (object) this.Name, (object) obj0.Symbol, (object) obj1));
      this.OnNewCorporateAction(obj0, obj1);
    }
예제 #6
0
파일: Strategy.cs 프로젝트: heber/FreeOQ
 protected override void OnNewCorporateAction(Instrument instrument, CorporateAction corporateAction)
 {
   this.A6MpF2380O.OnCorporateAction(instrument, corporateAction);
   this.HeHpDewVKD.OnCorporateAction(instrument, corporateAction);
   this.marketManager.OnCorporateAction(instrument, corporateAction);
   this.ayRpJCTRPY.OnCorporateAction(instrument, corporateAction);
   this.exits[instrument].OnCorporateAction(corporateAction);
   this.entries[instrument].OnCorporateAction(corporateAction);
   this.moneyManagers[instrument].OnCorporateAction(corporateAction);
   this.riskManagers[instrument].OnCorporateAction(corporateAction);
 }
예제 #7
0
파일: ATSStrategy.cs 프로젝트: heber/FreeOQ
		protected override void OnNewCorporateAction(Instrument instrument, CorporateAction corporateAction)
		{
			this.marketManager.OnCorporateAction(instrument, corporateAction);
			this.klBiFcxZsD.OnCorporateAction(instrument, corporateAction);
			this.csNiLdTRqH[instrument].OnCorporateAction(corporateAction);
		}
예제 #8
0
		private void NQyesH3ccX(IFIXInstrument instrument, CorporateAction action)
		{
			if (this.NewCorporateAction != null)
			{
				this.NewCorporateAction(this, new CorporateActionEventArgs(action, instrument, this));
			}
		}
예제 #9
0
		public virtual void OnCorporateAction(Instrument instrument, CorporateAction corporateAction)
		{
		}
예제 #10
0
		public virtual void OnCorporateAction(CorporateAction corporateAction)
		{
		}
예제 #11
0
 protected override void OnNewCorporateAction(Instrument instrument, CorporateAction corporateAction)
 {
   this.kXJRQmVtwY.OnCorporateAction(instrument, corporateAction);
   this.k7bROYTXtn.OnCorporateAction(instrument, corporateAction);
 }
예제 #12
0
		public CorporateActionEventArgs(CorporateAction corporateAction, IFIXInstrument instrument, IMarketDataProvider provider) 
			: base(instrument, provider)
		{
			this.CorporateAction = corporateAction; 
		}