예제 #1
0
        public static double[] GetBarsAskHigh(string pairBars)
        {
            var barData = FdkVars.GetValue <PairBar[]>(pairBars);

            return(FdkBars.GetBarsHigh(barData
                                       .SelectToArray(barPair => barPair.Ask.ToBarData())));
        }
예제 #2
0
        public static double[] GetBarsAskVolume(string pairBars)
        {
            var barData = FdkVars.GetValue <PairBar[]>(pairBars);

            return(FdkBars.GetBarsVolume(barData.SelectToArray(barPair => barPair.Ask)));
        }
예제 #3
0
        public static DateTime[] GetBarsBidTo(string pairBars)
        {
            var barData = FdkVars.GetValue <PairBar[]>(pairBars);

            return(FdkBars.GetBarsTo(barData.SelectToArray(barPair => barPair.Bid)));
        }
예제 #4
0
        public static double[] GetBarsBidClose(string pairBars)
        {
            var barData = FdkVars.GetValue <PairBar[]>(pairBars);

            return(FdkBars.GetBarsClose(barData.SelectToArray(barPair => barPair.Bid)));
        }