public DataSource()
 {
     var instrumentProperties = new InstrumentProperties("EURUSD", InstrumentType.Forex);
     instrumentProperties.SetPrecision();
     InstrumentProperties = new Dictionary<string, InstrumentProperties>(1)
     {
         {"EURUSD", instrumentProperties}
     };
     StartDate = new DateTime(2000, 1, 1);
     EndDate = new DateTime(2050, 12, 31);
     IsUseStartDate = false;
     IsUseEndDate = false;
     MaximumBars = 20000;
     MinimumBars = 300;
     MaxIntrabarBars = 50000;
     IsCheckDataAtLoad = true;
     IsCutOffBadData = false;
     IsCutOffSatSunData = false;
     IsFillInDataGaps = false;
     IsCacheDataFiles = true;
 }
Beispiel #2
0
        public DataSource()
        {
            var instrumentProperties = new InstrumentProperties("EURUSD", InstrumentType.Forex);

            instrumentProperties.SetPrecision();
            InstrumentProperties = new Dictionary <string, InstrumentProperties>(1)
            {
                { "EURUSD", instrumentProperties }
            };
            StartDate          = new DateTime(2000, 1, 1);
            EndDate            = new DateTime(2050, 12, 31);
            IsUseStartDate     = false;
            IsUseEndDate       = false;
            MaximumBars        = 20000;
            MinimumBars        = 300;
            MaxIntrabarBars    = 50000;
            IsCheckDataAtLoad  = true;
            IsCutOffBadData    = false;
            IsCutOffSatSunData = false;
            IsFillInDataGaps   = false;
            IsCacheDataFiles   = true;
        }