示例#1
0
        public QueryBinder DynamicList(string _defaultDate)
        {
            //Cache7
            QueryBinder    binder      = new QueryBinder();
            BasicDataLogic objList     = new BasicDataLogic();
            OILogic        objOIlist   = new OILogic();
            DMALogic       objDmaLogic = new DMALogic();

            binder.PosativeData = objList.CheckBuySignals(_masterDatapathBasic, _defaultDate).OrderByDescending(x => Convert.ToDecimal(x.pChange)).ToList();
            binder.NegativeData = objList.CheckSellSignals(_masterDatapathBasic, _defaultDate).OrderBy(x => Convert.ToDecimal(x.pChange)).ToList();
            binder.HighBuying   = objList.CheckHighBuying(_masterDatapathBasic, _defaultDate).ToList();
            binder.HighSelling  = objList.CheckHighSelling(_masterDatapathBasic, _defaultDate).ToList();

            binder.CheckPriceStrongOIStroing = objOIlist.CheckPriceStrongOIStroing(_masterDatapathOI, _defaultDate).OrderByDescending(x => Convert.ToDecimal(x.PchangeinOpenInterest)).ToList();
            binder.CheckPriceWeekOIStroing   = objOIlist.CheckPriceWeekOIStroing(_masterDatapathOI, _defaultDate).OrderByDescending(x => Convert.ToDecimal(x.PchangeinOpenInterest)).ToList();
            binder.CheckPriceStrongOIWeek    = objOIlist.CheckPriceStrongOIWeek(_masterDatapathOI, _defaultDate).OrderBy(x => Convert.ToDecimal(x.PchangeinOpenInterest)).ToList();
            binder.CheckPriceWeekIOWeek      = objOIlist.CheckPriceWeekIOWeek(_masterDatapathOI, _defaultDate).OrderBy(x => Convert.ToDecimal(x.PchangeinOpenInterest)).ToList();
            return(binder);
        }
示例#2
0
        public QueryBinder FullDMA(List <Weightage> nifty50, List <Weightage> bankNifty, string _defaultDate)
        {
            //Cache7
            QueryBinder    binder      = new QueryBinder();
            BasicDataLogic objList     = new BasicDataLogic();
            OILogic        objOIlist   = new OILogic();
            DMALogic       objDmaLogic = new DMALogic();

            binder.CheckLTPHasFirstPlace      = objDmaLogic.CheckLTPHasFirstPlace(_masterDatapathDMA, _defaultDate).ToList();
            binder.CheckLTPHasSecondPlace     = objDmaLogic.CheckLTPHasSecondPlace(_masterDatapathDMA, _defaultDate).ToList();
            binder.CheckLTPHasLastPlace       = objDmaLogic.CheckLTPHasLastPlace(_masterDatapathDMA, _defaultDate).ToList();
            binder.CheckLTPHasBeforeLastPlace = objDmaLogic.CheckLTPHasBeforeLastPlace(_masterDatapathDMA, _defaultDate).ToList();
            binder.UIDetailedDMA = objDmaLogic.ChangeDMAPosation(_masterDatapathDMA, nifty50, _defaultDate).OrderByDescending(x => x.ChangeScore).ToList();

            binder.NiftyDMAData     = objDmaLogic.BankniftyDMAScore(_masterDatapathDMA, nifty50, _defaultDate).OrderByDescending(x => x.DMAScore).ToList();
            binder.BankNiftyDMAData = objDmaLogic.BankniftyDMAScore(_masterDatapathDMA, bankNifty, _defaultDate).OrderByDescending(x => x.DMAScore).ToList();

            return(binder);
        }