예제 #1
0
 public Job_CorrelationMatrix(string[] symbols, string timeframe, int numTicks, CovarianceType c)
 {
     this.symbols = symbols;
     this.timeframe = timeframe;
     this.numTicks = numTicks;
     correlation = new DenseMatrix(symbols.Length, symbols.Length, 0.0);
     covariance = new DenseMatrix(symbols.Length, symbols.Length, 0.0);
     cType = c;
     mktData = new List<MarketDataEventArg>();
 }
예제 #2
0
 public Job_CorrelationMatrix(string[] symbols, string timeframe, int numTicks, CovarianceType c)
 {
     this.symbols   = symbols;
     this.timeframe = timeframe;
     this.numTicks  = numTicks;
     correlation    = new DenseMatrix(symbols.Length, symbols.Length, 0.0);
     covariance     = new DenseMatrix(symbols.Length, symbols.Length, 0.0);
     cType          = c;
     mktData        = new List <MarketDataEventArg>();
 }