Inheritance: DataObject
 internal void OnFundamental(Fundamental fundamental)
 {
     if (Strategy?.Status == StrategyStatus.Running)
     {
         Strategy.EmitFundamental(fundamental);
     }
 }
Beispiel #2
0
 internal void OnFundamental(Fundamental fundamental)
 {
     if (fundamental.InstrumentId != -1)
     {
         this.latestFundamental[fundamental.InstrumentId] = fundamental;
     }
 }
Beispiel #3
0
        // Token: 0x06000561 RID: 1377 RVA: 0x00025C3C File Offset: 0x00023E3C
        public override object Read(BinaryReader reader, byte version)
        {
            var f = new Fundamental(new DateTime(reader.ReadInt64()), reader.ReadInt32(), reader.ReadInt32())
            {
                Fields = (ObjectTable)this.streamerManager.Deserialize(reader)
            };

            return(f);
        }
Beispiel #4
0
 public void Save(Fundamental fundamental, SaveMode option = SaveMode.Add) => Save(fundamental.InstrumentId, fundamental, option);
Beispiel #5
0
        // Token: 0x06000561 RID: 1377 RVA: 0x00025C3C File Offset: 0x00023E3C
        public override object Read(BinaryReader reader, byte version)
        {
            var f = new Fundamental(new DateTime(reader.ReadInt64()), reader.ReadInt32(), reader.ReadInt32())
            {
                Fields = (ObjectTable)this.streamerManager.Deserialize(reader)
            };

            return f;
        }
Beispiel #6
0
 internal void OnFundamental(Fundamental fundamental)
 {
     if (Strategy?.Status == StrategyStatus.Running)
         Strategy.EmitFundamental(fundamental);
 }
Beispiel #7
0
 internal void OnFundamental(Fundamental fundamental)
 {
     if (fundamental.InstrumentId != -1)
         this.latestFundamental[fundamental.InstrumentId] = fundamental;
 }
Beispiel #8
0
 public void Save(Fundamental fundamental, SaveMode option = SaveMode.Add) => Save(fundamental.InstrumentId, fundamental, option);