protected List <S_CandleItemData> loadData() { DateTime?dtS = null; if (dtpS.Checked) { dtS = dtpS.Value; } DateTime?dtE = null; if (dtpE.Checked) { dtE = dtpE.Value; } return(PPUtils.LoadData(selectedType, selectedTimeInterval, selectedItem, dtS, dtE)); //List<S_CandleItemData> sourceDatas = null; //if (selectedType == "국내업종") //{ // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(selectedItem, "2", "0", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(selectedItem, "3", "0", "500"); //} //else if (selectedType == "국내지수") //{ // //if (selectedTimeInterval == TimeIntervalEnum.Day) // // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(selectedItem, "2", "0", "500"); // //else if (selectedTimeInterval == TimeIntervalEnum.Week) // // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(selectedItem, "3", "0", "500"); // //else if (selectedTimeInterval == TimeIntervalEnum.Minute_01) // // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(selectedItem, "1", "1", "500"); // //else if (selectedTimeInterval == TimeIntervalEnum.Minute_05) // // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(selectedItem, "1", "5", "500"); // //else if (selectedTimeInterval == TimeIntervalEnum.Minute_10) // // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(selectedItem, "1", "10", "500"); // //else if (selectedTimeInterval == TimeIntervalEnum.Minute_30) // // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(selectedItem, "1", "30", "500"); // //else if (selectedTimeInterval == TimeIntervalEnum.Hour_01) // // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(selectedItem, "1", "60", "500"); // if (dtpS.Checked && dtpE.Checked) // { // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetKoreaIndexSiseDataByRange(selectedItem, "D", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetKoreaIndexSiseDataByRange(selectedItem, "W", dtpS.Value, dtpE.Value); // } // else // { // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetKoreaIndexSiseData(selectedItem, "D"); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetKoreaIndexSiseData(selectedItem, "W"); // } //} //else if (selectedType == "국내종목") //{ // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetJongmokSiseData(selectedItem, "2", "0", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetJongmokSiseData(selectedItem, "3", "0", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_01) // sourceDatas = XingContext.Instance.ClientContext.GetJongmokSiseData(selectedItem, "1", "1", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_05) // sourceDatas = XingContext.Instance.ClientContext.GetJongmokSiseData(selectedItem, "1", "5", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_10) // sourceDatas = XingContext.Instance.ClientContext.GetJongmokSiseData(selectedItem, "1", "10", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_30) // sourceDatas = XingContext.Instance.ClientContext.GetJongmokSiseData(selectedItem, "1", "30", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_01) // sourceDatas = XingContext.Instance.ClientContext.GetJongmokSiseData(selectedItem, "1", "60", "500"); //} //else if (selectedType == "해외지수") //{ // //if (selectedTimeInterval == TimeIntervalEnum.Day) // // sourceDatas = XingContext.Instance.ClientContext.GetWorldIndexSiseData(selectedItem, "0"); // //else if (selectedTimeInterval == TimeIntervalEnum.Week) // // sourceDatas = XingContext.Instance.ClientContext.GetWorldIndexSiseData(selectedItem, "1"); // if (dtpS.Checked && dtpE.Checked) // { // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetWorldIndexSiseDataByRange(selectedItem, "D", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetWorldIndexSiseDataByRange(selectedItem, "W", dtpS.Value, dtpE.Value); // } // else // { // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetWorldIndexSiseData(selectedItem, "D"); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetWorldIndexSiseData(selectedItem, "W"); // } //} //else if (selectedType == "해외선물") //{ // if (dtpS.Checked && dtpE.Checked) // { // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(selectedItem, "D", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(selectedItem, "W", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_01) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(selectedItem, "H", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_02) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(selectedItem, "2H", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_05) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(selectedItem, "5H", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_01) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(selectedItem, "M", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_05) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(selectedItem, "5M", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_15) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(selectedItem, "15M", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_30) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(selectedItem, "30M", dtpS.Value, dtpE.Value); // } // else // { // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(selectedItem, "D"); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(selectedItem, "W"); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_01) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(selectedItem, "H"); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_02) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(selectedItem, "2H"); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_05) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(selectedItem, "5H"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_01) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(selectedItem, "M"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_05) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(selectedItem, "5M"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_15) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(selectedItem, "15M"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_30) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(selectedItem, "30M"); // } //} //else if (selectedType == "암호화폐") //{ // if (dtpS.Checked && dtpE.Checked) // { // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(selectedItem, "D", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(selectedItem, "W", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_01) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(selectedItem, "H", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_02) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(selectedItem, "2H", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_05) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(selectedItem, "5H", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_01) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(selectedItem, "M", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_05) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(selectedItem, "5M", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_15) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(selectedItem, "15M", dtpS.Value, dtpE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_30) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(selectedItem, "30M", dtpS.Value, dtpE.Value); // } // else // { // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(selectedItem, "D"); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(selectedItem, "W"); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_01) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(selectedItem, "H"); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_02) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(selectedItem, "2H"); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_05) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(selectedItem, "5H"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_01) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(selectedItem, "M"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_05) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(selectedItem, "5M"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_15) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(selectedItem, "15M"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_30) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(selectedItem, "30M"); // } //} //else // sourceDatas = PPContext.Instance.ClientContext.GetCandleSourceDataOrderByAsc( // selectedItem // , selectedTimeInterval); //return sourceDatas; }
protected List <S_CandleItemData> loadData(string product = "" , string item = "" , TimeIntervalEnum timeInterval = TimeIntervalEnum.Day , DateTime?searchRangeDateS = null , DateTime?searchRangeDateE = null) { return(PPUtils.LoadData(product, timeInterval, item, searchRangeDateS, searchRangeDateE)); //List<S_CandleItemData> sourceDatas = null; //if (selectedType.Length == 0) return sourceDatas; //if (selectedType.Length == 0) return sourceDatas; //if (product == "국내업종") //{ // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(item, "2", "0", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(item, "3", "0", "500"); //} //else if (product == "국내지수") //{ // if (timeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(item, "2", "0", "500"); // else if (timeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(item, "3", "0", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_01) // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(item, "1", "1", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_05) // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(item, "1", "5", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_10) // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(item, "1", "10", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_30) // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(item, "1", "30", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_01) // sourceDatas = XingContext.Instance.ClientContext.GetUpJongSiseData(item, "1", "60", "500"); //} //else if (product == "국내종목") //{ // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetJongmokSiseData(item, "2", "0", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetJongmokSiseData(item, "3", "0", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_01) // sourceDatas = XingContext.Instance.ClientContext.GetJongmokSiseData(item, "1", "1", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_05) // sourceDatas = XingContext.Instance.ClientContext.GetJongmokSiseData(item, "1", "5", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_10) // sourceDatas = XingContext.Instance.ClientContext.GetJongmokSiseData(item, "1", "10", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_30) // sourceDatas = XingContext.Instance.ClientContext.GetJongmokSiseData(item, "1", "30", "500"); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_01) // sourceDatas = XingContext.Instance.ClientContext.GetJongmokSiseData(item, "1", "60", "500"); //} //else if (product == "해외지수") //{ // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetWorldIndexSiseData(item, "0"); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetWorldIndexSiseData(item, "1"); //} //else if (product == "해외선물") //{ // if (searchRangeDateS != null && searchRangeDateE != null) // { // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(item, "D", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(item, "W", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_01) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(item, "H", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_02) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(item, "2H", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_05) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(item, "5H", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_01) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(item, "M", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_05) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(item, "5M", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_15) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(item, "15M", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_30) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseDataByRange(item, "30M", searchRangeDateS.Value, searchRangeDateE.Value); // } // else // { // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(item, "D"); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(item, "W"); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_01) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(item, "H"); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_02) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(item, "2H"); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_05) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(item, "5H"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_01) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(item, "M"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_05) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(item, "5M"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_15) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(item, "15M"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_30) // sourceDatas = XingContext.Instance.ClientContext.GetWorldFutureSiseData(item, "30M"); // } //} //else if (product == "암호화폐") //{ // if (searchRangeDateS != null && searchRangeDateE != null) // { // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(item, "D", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(item, "W", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_01) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(item, "H", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_02) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(item, "2H", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_05) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(item, "5H", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_01) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(item, "M", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_05) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(item, "5M", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_15) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(item, "15M", searchRangeDateS.Value, searchRangeDateE.Value); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_30) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseDataByRange(item, "30M", searchRangeDateS.Value, searchRangeDateE.Value); // } // else // { // if (selectedTimeInterval == TimeIntervalEnum.Day) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(item, "D"); // else if (selectedTimeInterval == TimeIntervalEnum.Week) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(item, "W"); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_01) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(item, "H"); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_02) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(item, "2H"); // else if (selectedTimeInterval == TimeIntervalEnum.Hour_05) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(item, "5H"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_01) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(item, "M"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_05) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(item, "5M"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_15) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(item, "15M"); // else if (selectedTimeInterval == TimeIntervalEnum.Minute_30) // sourceDatas = XingContext.Instance.ClientContext.GetCryptoSiseData(item, "30M"); // } //} //else // sourceDatas = PPContext.Instance.ClientContext.GetCandleSourceDataOrderByAsc( // item // , timeInterval); //return sourceDatas; }