コード例 #1
0
ファイル: Cointegration.cs プロジェクト: ifzz/QuantSys
 public Cointegration()
 {
     n = 3000;
     data1 = new MovingQueue<double>(n);
     data2 = new MovingQueue<double>(n);
     TEMA = new TEMA(50);
     AttachIndicator("Container", new GenericContainer(n));
 }
コード例 #2
0
ファイル: Covariance.cs プロジェクト: ifzz/QuantSys
        public Covariance()
        {
            n = 1000;
            data1 = new MovingQueue<double>(n);
            data2 = new MovingQueue<double>(n);
            data3 = new MovingQueue<double>(n);

            TEMA = new TEMA(50);
            AttachIndicator("Container", new GenericContainer(n));
        }