Пример #1
0
        public ApplicationItem(ClassCod classCod, Futures security, TimeFrame timeFrame)
        {
            this.classCod = classCod.ToString();

            this.security = security.ToString();

            this.timeFrame = timeFrame;
        }
Пример #2
0
        public ApplicationItem(ClassCod classCod, Futures security, TimeFrame timeFrame, int fractalPeriod = 0, FindPattern pattern = null)
        {
            this.classCod = classCod.ToString();

            this.security = security.ToString();

            this.timeFrame = timeFrame;

            this.fractalParam = fractalPeriod;

            this.findPattern = pattern;
        }
Пример #3
0
 public static string GetCommandString(Futures security, TimeFrame timeFrame)
 {
     return("SPBFUT" + ';' + security.ToString() + ';' + (int)timeFrame + ';' + 0);
 }