Exemplo n.º 1
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["hotime"]        = new XAQueryFieldInfo("char", hotime, hotime, "호가시간", (decimal)6);
            dict["tmofferrem"]    = new XAQueryFieldInfo("long", tmofferrem, tmofferrem.ToString("d12"), "시간외매도잔량", (decimal)12);
            dict["tmbidrem"]      = new XAQueryFieldInfo("long", tmbidrem, tmbidrem.ToString("d12"), "시간외매수잔량", (decimal)12);
            dict["pretmoffercha"] = new XAQueryFieldInfo("long", pretmoffercha, pretmoffercha.ToString("d12"), "시간외매도수량직전대비", (decimal)12);
            dict["pretmbidcha"]   = new XAQueryFieldInfo("long", pretmbidcha, pretmbidcha.ToString("d12"), "시간외매수수량직전대비", (decimal)12);
            dict["shcode"]        = new XAQueryFieldInfo("char", shcode, shcode, "단축코드", (decimal)6);

            return(dict);
        }
Exemplo n.º 2
0
        public override void SetFieldValue(string fieldName, XAQueryFieldInfo fieldInfo)
        {
            switch (fieldName)
            {
            case "upcode":
                this.upcode = fieldInfo.FieldValue.TrimEnd('?');
                break;

            case "idx":
                this.idx = fieldInfo.FieldValue.ParseLong("idx");
                break;
            }
        }
Exemplo n.º 3
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["fdate"]    = new XAQueryFieldInfo("char", fdate, fdate, "from일자", (decimal)8);
            dict["tdate"]    = new XAQueryFieldInfo("char", tdate, tdate, "to일자", (decimal)8);
            dict["gubun"]    = new XAQueryFieldInfo("char", gubun, gubun.ToString(), "구분", (decimal)1);
            dict["key_date"] = new XAQueryFieldInfo("char", key_date, key_date, "날짜", (decimal)8);
            dict["upcode"]   = new XAQueryFieldInfo("char", upcode, upcode, "업종코드", (decimal)3);
            dict["cnt"]      = new XAQueryFieldInfo("int", cnt, cnt.ToString("d3"), "조회건수", (decimal)3);

            return(dict);
        }
Exemplo n.º 4
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["offervolume"] = new XAQueryFieldInfo("long", offervolume, offervolume.ToString("d8"), "매도수량", (decimal)8);
            dict["offervalue"]  = new XAQueryFieldInfo("long", offervalue, offervalue.ToString("d12"), "매도금액", (decimal)12);
            dict["bidvolume"]   = new XAQueryFieldInfo("long", bidvolume, bidvolume.ToString("d8"), "매수수량", (decimal)8);
            dict["bidvalue"]    = new XAQueryFieldInfo("long", bidvalue, bidvalue.ToString("d12"), "매수금액", (decimal)12);
            dict["volume"]      = new XAQueryFieldInfo("long", volume, volume.ToString("d8"), "순매수수량", (decimal)8);
            dict["value"]       = new XAQueryFieldInfo("long", value, value.ToString("d12"), "순매수금액", (decimal)12);

            return(dict);
        }
Exemplo n.º 5
0
        public override void SetFieldValue(string fieldName, XAQueryFieldInfo fieldInfo)
        {
            switch (fieldName)
            {
            case "lastym":
                this.lastym = fieldInfo.FieldValue.TrimEnd('?');
                break;

            case "lastnm":
                this.lastnm = fieldInfo.FieldValue.TrimEnd('?');
                break;
            }
        }
Exemplo n.º 6
0
        public override void SetFieldValue(string fieldName, XAQueryFieldInfo fieldInfo)
        {
            switch (fieldName)
            {
            case "code":
                this.code = fieldInfo.FieldValue.TrimEnd('?');
                break;

            case "nrec":
                this.nrec = fieldInfo.FieldValue.TrimEnd('?');
                break;
            }
        }
Exemplo n.º 7
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["accno"]     = new XAQueryFieldInfo("char", accno, accno, "계좌번호", (decimal)11);
            dict["passwd"]    = new XAQueryFieldInfo("char", passwd, passwd, "비밀번호", (decimal)8);
            dict["expcode"]   = new XAQueryFieldInfo("char", expcode, expcode, "종목번호", (decimal)8);
            dict["chegb"]     = new XAQueryFieldInfo("char", chegb, chegb.ToString(), "체결구분", (decimal)1);
            dict["sortgb"]    = new XAQueryFieldInfo("char", sortgb, sortgb.ToString(), "정렬순서", (decimal)1);
            dict["cts_ordno"] = new XAQueryFieldInfo("char", cts_ordno, cts_ordno, "CTS_주문번호", (decimal)7);

            return(dict);
        }
Exemplo n.º 8
0
        public override void SetFieldValue(string fieldName, XAQueryFieldInfo fieldInfo)
        {
            switch (fieldName)
            {
            case "qrycnt":
                this.qrycnt = fieldInfo.FieldValue.ParseLong("qrycnt");
                break;

            case "focode":
                this.focode = fieldInfo.FieldValue.TrimEnd('?');
                break;
            }
        }
Exemplo n.º 9
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["shcode"]   = new XAQueryFieldInfo("char", shcode, shcode, "단축코드", (decimal)8);
            dict["futcheck"] = new XAQueryFieldInfo("char", futcheck, futcheck.ToString(), "선물최근월물", (decimal)1);
            dict["date"]     = new XAQueryFieldInfo("char", date, date, "날짜", (decimal)8);
            dict["cts_code"] = new XAQueryFieldInfo("char", cts_code, cts_code, "CTS종목코드", (decimal)8);
            dict["lastdate"] = new XAQueryFieldInfo("char", lastdate, lastdate, "전종목만기일", (decimal)8);
            dict["cnt"]      = new XAQueryFieldInfo("int", cnt, cnt.ToString("d3"), "조회요청건수", (decimal)3);

            return(dict);
        }
Exemplo n.º 10
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["time"]   = new XAQueryFieldInfo("char", time, time, "시간CTS", (decimal)6);
            dict["price"]  = new XAQueryFieldInfo("long", price, price.ToString("d8"), "현재가", (decimal)8);
            dict["sign"]   = new XAQueryFieldInfo("char", sign, sign.ToString(), "전일대비구분", (decimal)1);
            dict["change"] = new XAQueryFieldInfo("long", change, change.ToString("d8"), "전일대비", (decimal)8);
            dict["diff"]   = new XAQueryFieldInfo("float", diff, diff.ToString("000000.00"), "등락율", (decimal)6.2);
            dict["volume"] = new XAQueryFieldInfo("long", volume, volume.ToString("d12"), "누적거래량", (decimal)12);

            return(dict);
        }
Exemplo n.º 11
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["RecCnt"]   = new XAQueryFieldInfo("long", RecCnt, RecCnt.ToString("d5"), "레코드갯수", (decimal)5);
            dict["AcntNo"]   = new XAQueryFieldInfo("char", AcntNo, AcntNo, "계좌번호", (decimal)20);
            dict["Pwd"]      = new XAQueryFieldInfo("char", Pwd, Pwd, "비밀번호", (decimal)8);
            dict["QrySrtDt"] = new XAQueryFieldInfo("char", QrySrtDt, QrySrtDt, "조회시작일", (decimal)8);
            dict["QryEndDt"] = new XAQueryFieldInfo("char", QryEndDt, QryEndDt, "조회종료일", (decimal)8);
            dict["TermTp"]   = new XAQueryFieldInfo("char", TermTp, TermTp.ToString(), "기간구분", (decimal)1);

            return(dict);
        }
Exemplo n.º 12
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["hname"]     = new XAQueryFieldInfo("char", hname, hname, "종목명", (decimal)20);
            dict["price"]     = new XAQueryFieldInfo("float", price, price.ToString("000000.00"), "현재가", (decimal)6.2);
            dict["sign"]      = new XAQueryFieldInfo("char", sign, sign.ToString(), "전일대비구분", (decimal)1);
            dict["change"]    = new XAQueryFieldInfo("float", change, change.ToString("000000.00"), "전일대비", (decimal)6.2);
            dict["diff"]      = new XAQueryFieldInfo("float", diff, diff.ToString("000000.00"), "등락율", (decimal)6.2);
            dict["volume"]    = new XAQueryFieldInfo("long", volume, volume.ToString("d12"), "거래량", (decimal)12);
            dict["stimeqrt"]  = new XAQueryFieldInfo("float", stimeqrt, stimeqrt.ToString("000000.00"), "거래량전일동시간비율", (decimal)6.2);
            dict["jnilclose"] = new XAQueryFieldInfo("float", jnilclose, jnilclose.ToString("000000.00"), "전일종가", (decimal)6.2);
            dict["offerho1"]  = new XAQueryFieldInfo("float", offerho1, offerho1.ToString("000000.00"), "매도호가1", (decimal)6.2);
            dict["bidho1"]    = new XAQueryFieldInfo("float", bidho1, bidho1.ToString("000000.00"), "매수호가1", (decimal)6.2);
            dict["offerrem1"] = new XAQueryFieldInfo("long", offerrem1, offerrem1.ToString("d8"), "매도호가수량1", (decimal)8);
            dict["bidrem1"]   = new XAQueryFieldInfo("long", bidrem1, bidrem1.ToString("d8"), "매수호가수량1", (decimal)8);
            dict["dcnt1"]     = new XAQueryFieldInfo("long", dcnt1, dcnt1.ToString("d8"), "매도호가건수1", (decimal)8);
            dict["scnt1"]     = new XAQueryFieldInfo("long", scnt1, scnt1.ToString("d8"), "매수호가건수1", (decimal)8);
            dict["offerho2"]  = new XAQueryFieldInfo("float", offerho2, offerho2.ToString("000000.00"), "매도호가2", (decimal)6.2);
            dict["bidho2"]    = new XAQueryFieldInfo("float", bidho2, bidho2.ToString("000000.00"), "매수호가2", (decimal)6.2);
            dict["offerrem2"] = new XAQueryFieldInfo("long", offerrem2, offerrem2.ToString("d8"), "매도호가수량2", (decimal)8);
            dict["bidrem2"]   = new XAQueryFieldInfo("long", bidrem2, bidrem2.ToString("d8"), "매수호가수량2", (decimal)8);
            dict["dcnt2"]     = new XAQueryFieldInfo("long", dcnt2, dcnt2.ToString("d8"), "매도호가건수2", (decimal)8);
            dict["scnt2"]     = new XAQueryFieldInfo("long", scnt2, scnt2.ToString("d8"), "매수호가건수2", (decimal)8);
            dict["offerho3"]  = new XAQueryFieldInfo("float", offerho3, offerho3.ToString("000000.00"), "매도호가3", (decimal)6.2);
            dict["bidho3"]    = new XAQueryFieldInfo("float", bidho3, bidho3.ToString("000000.00"), "매수호가3", (decimal)6.2);
            dict["offerrem3"] = new XAQueryFieldInfo("long", offerrem3, offerrem3.ToString("d8"), "매도호가수량3", (decimal)8);
            dict["bidrem3"]   = new XAQueryFieldInfo("long", bidrem3, bidrem3.ToString("d8"), "매수호가수량3", (decimal)8);
            dict["dcnt3"]     = new XAQueryFieldInfo("long", dcnt3, dcnt3.ToString("d8"), "매도호가건수3", (decimal)8);
            dict["scnt3"]     = new XAQueryFieldInfo("long", scnt3, scnt3.ToString("d8"), "매수호가건수3", (decimal)8);
            dict["offerho4"]  = new XAQueryFieldInfo("float", offerho4, offerho4.ToString("000000.00"), "매도호가4", (decimal)6.2);
            dict["bidho4"]    = new XAQueryFieldInfo("float", bidho4, bidho4.ToString("000000.00"), "매수호가4", (decimal)6.2);
            dict["offerrem4"] = new XAQueryFieldInfo("long", offerrem4, offerrem4.ToString("d8"), "매도호가수량4", (decimal)8);
            dict["bidrem4"]   = new XAQueryFieldInfo("long", bidrem4, bidrem4.ToString("d8"), "매수호가수량4", (decimal)8);
            dict["dcnt4"]     = new XAQueryFieldInfo("long", dcnt4, dcnt4.ToString("d8"), "매도호가건수4", (decimal)8);
            dict["scnt4"]     = new XAQueryFieldInfo("long", scnt4, scnt4.ToString("d8"), "매수호가건수4", (decimal)8);
            dict["offerho5"]  = new XAQueryFieldInfo("float", offerho5, offerho5.ToString("000000.00"), "매도호가5", (decimal)6.2);
            dict["bidho5"]    = new XAQueryFieldInfo("float", bidho5, bidho5.ToString("000000.00"), "매수호가5", (decimal)6.2);
            dict["offerrem5"] = new XAQueryFieldInfo("long", offerrem5, offerrem5.ToString("d8"), "매도호가수량5", (decimal)8);
            dict["bidrem5"]   = new XAQueryFieldInfo("long", bidrem5, bidrem5.ToString("d8"), "매수호가수량5", (decimal)8);
            dict["dcnt5"]     = new XAQueryFieldInfo("long", dcnt5, dcnt5.ToString("d8"), "매도호가건수5", (decimal)8);
            dict["scnt5"]     = new XAQueryFieldInfo("long", scnt5, scnt5.ToString("d8"), "매수호가건수5", (decimal)8);
            dict["dvol"]      = new XAQueryFieldInfo("long", dvol, dvol.ToString("d8"), "매도호가총수량", (decimal)8);
            dict["svol"]      = new XAQueryFieldInfo("long", svol, svol.ToString("d8"), "매수호가총수량", (decimal)8);
            dict["toffernum"] = new XAQueryFieldInfo("long", toffernum, toffernum.ToString("d8"), "총매도호가건수", (decimal)8);
            dict["tbidnum"]   = new XAQueryFieldInfo("long", tbidnum, tbidnum.ToString("d8"), "총매수호가건수", (decimal)8);
            dict["time"]      = new XAQueryFieldInfo("char", time, time, "수신시간", (decimal)6);
            dict["shcode"]    = new XAQueryFieldInfo("char", shcode, shcode, "단축코드", (decimal)8);

            return(dict);
        }
Exemplo n.º 13
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["date"]      = new XAQueryFieldInfo("char", date, date, "날짜", (decimal)8);
            dict["time"]      = new XAQueryFieldInfo("char", time, time, "시간", (decimal)6);
            dict["open"]      = new XAQueryFieldInfo("float", open, open.ToString("0000000.00"), "시가", (decimal)7.2);
            dict["high"]      = new XAQueryFieldInfo("float", high, high.ToString("0000000.00"), "고가", (decimal)7.2);
            dict["low"]       = new XAQueryFieldInfo("float", low, low.ToString("0000000.00"), "저가", (decimal)7.2);
            dict["close"]     = new XAQueryFieldInfo("float", close, close.ToString("0000000.00"), "종가", (decimal)7.2);
            dict["jdiff_vol"] = new XAQueryFieldInfo("long", jdiff_vol, jdiff_vol.ToString("d12"), "거래량", (decimal)12);

            return(dict);
        }
Exemplo n.º 14
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["shcode"]    = new XAQueryFieldInfo("char", shcode, shcode, "종목코드", (decimal)6);
            dict["tradno"]    = new XAQueryFieldInfo("char", tradno, tradno, "거래원코드", (decimal)3);
            dict["gubun1"]    = new XAQueryFieldInfo("char", gubun1, gubun1.ToString(), "구분1", (decimal)1);
            dict["traddate1"] = new XAQueryFieldInfo("char", traddate1, traddate1, "거래원날짜1", (decimal)8);
            dict["traddate2"] = new XAQueryFieldInfo("char", traddate2, traddate2, "거래원날짜2", (decimal)8);
            dict["cts_idx"]   = new XAQueryFieldInfo("long", cts_idx, cts_idx.ToString("d4"), "CTSIDX", (decimal)4);
            dict["cnt"]       = new XAQueryFieldInfo("int", cnt, cnt.ToString("d3"), "요청건수", (decimal)3);

            return(dict);
        }
Exemplo n.º 15
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["ychetime"]   = new XAQueryFieldInfo("char", ychetime, ychetime, "예상체결시간", (decimal)6);
            dict["yeprice"]    = new XAQueryFieldInfo("float", yeprice, yeprice.ToString("000000000.00"), "예상체결가격", (decimal)9.2);
            dict["yevolume"]   = new XAQueryFieldInfo("long", yevolume, yevolume.ToString("d6"), "예상체결수량", (decimal)6);
            dict["jnilysign"]  = new XAQueryFieldInfo("char", jnilysign, jnilysign.ToString(), "예상체결가전일종가대비구분", (decimal)1);
            dict["preychange"] = new XAQueryFieldInfo("float", preychange, preychange.ToString("000000000.00"), "예상체결가전일종가대비", (decimal)9.2);
            dict["jnilydrate"] = new XAQueryFieldInfo("float", jnilydrate, jnilydrate.ToString("000000000.00"), "예상체결가전일종가등락율", (decimal)9.2);
            dict["shcode"]     = new XAQueryFieldInfo("char", shcode, shcode, "단축코드", (decimal)8);

            return(dict);
        }
Exemplo n.º 16
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["AcntNo"]           = new XAQueryFieldInfo("char", AcntNo, AcntNo, "계좌번호", (decimal)20);
            dict["Pwd"]              = new XAQueryFieldInfo("char", Pwd, Pwd, "비밀번호", (decimal)8);
            dict["FnoIsuNo"]         = new XAQueryFieldInfo("char", FnoIsuNo, FnoIsuNo, "선물옵션종목번호", (decimal)12);
            dict["OrgOrdNo"]         = new XAQueryFieldInfo("long", OrgOrdNo, OrgOrdNo.ToString("d10"), "원주문번호", (decimal)10);
            dict["FnoOrdprcPtnCode"] = new XAQueryFieldInfo("char", FnoOrdprcPtnCode, FnoOrdprcPtnCode, "선물옵션호가유형코드", (decimal)2);
            dict["OrdPrc"]           = new XAQueryFieldInfo("double", OrdPrc, OrdPrc.ToString("000000000000000.00"), "주문가격", (decimal)15.2);
            dict["MdfyQty"]          = new XAQueryFieldInfo("long", MdfyQty, MdfyQty.ToString("d16"), "정정수량", (decimal)16);

            return(dict);
        }
Exemplo n.º 17
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["market"]   = new XAQueryFieldInfo("char", market, market.ToString(), "시장구분", (decimal)1);
            dict["gubun1"]   = new XAQueryFieldInfo("char", gubun1, gubun1.ToString(), "투자자구분", (decimal)1);
            dict["gubun2"]   = new XAQueryFieldInfo("char", gubun2, gubun2.ToString(), "전일분구분", (decimal)1);
            dict["cts_time"] = new XAQueryFieldInfo("char", cts_time, cts_time, "CTSTIME", (decimal)8);
            dict["cts_idx"]  = new XAQueryFieldInfo("long", cts_idx, cts_idx.ToString("d4"), "CTSIDX", (decimal)4);
            dict["cnt"]      = new XAQueryFieldInfo("int", cnt, cnt.ToString("d3"), "조회건수", (decimal)3);
            dict["upcode"]   = new XAQueryFieldInfo("char", upcode, upcode, "업종코드", (decimal)3);

            return(dict);
        }
Exemplo n.º 18
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["vi_gubun"]     = new XAQueryFieldInfo("char", vi_gubun, vi_gubun.ToString(), "구분(0:해제 1:정적발동 2:동적발동 3:정적&동적)", (decimal)1);
            dict["svi_recprice"] = new XAQueryFieldInfo("long", svi_recprice, svi_recprice.ToString("d8"), "정적VI발동기준가격", (decimal)8);
            dict["dvi_recprice"] = new XAQueryFieldInfo("long", dvi_recprice, dvi_recprice.ToString("d8"), "동적VI발동기준가격", (decimal)8);
            dict["vi_trgprice"]  = new XAQueryFieldInfo("long", vi_trgprice, vi_trgprice.ToString("d8"), "VI발동가격", (decimal)8);
            dict["shcode"]       = new XAQueryFieldInfo("char", shcode, shcode, "단축코드(KEY)", (decimal)6);
            dict["ref_shcode"]   = new XAQueryFieldInfo("char", ref_shcode, ref_shcode, "참조코드", (decimal)6);
            dict["time"]         = new XAQueryFieldInfo("char", time, time, "시간", (decimal)6);

            return(dict);
        }
Exemplo n.º 19
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["RecCnt"]     = new XAQueryFieldInfo("long", RecCnt, RecCnt.ToString("d5"), "레코드갯수", (decimal)5);
            dict["AcntNo"]     = new XAQueryFieldInfo("char", AcntNo, AcntNo, "계좌번호", (decimal)20);
            dict["AcntNm"]     = new XAQueryFieldInfo("char", AcntNm, AcntNm, "계좌명", (decimal)40);
            dict["BnsplAmt"]   = new XAQueryFieldInfo("long", BnsplAmt, BnsplAmt.ToString("d16"), "매매손익금액", (decimal)16);
            dict["AdjstDfamt"] = new XAQueryFieldInfo("long", AdjstDfamt, AdjstDfamt.ToString("d16"), "정산차금", (decimal)16);
            dict["TotEvalAmt"] = new XAQueryFieldInfo("long", TotEvalAmt, TotEvalAmt.ToString("d16"), "총평가금액", (decimal)16);
            dict["TotPnlAmt"]  = new XAQueryFieldInfo("long", TotPnlAmt, TotPnlAmt.ToString("d16"), "총손익금액", (decimal)16);

            return(dict);
        }
Exemplo n.º 20
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["accno"]       = new XAQueryFieldInfo("char", accno, accno, "계좌번호", (decimal)11);
            dict["passwd"]      = new XAQueryFieldInfo("char", passwd, passwd, "비밀번호", (decimal)8);
            dict["prcgb"]       = new XAQueryFieldInfo("char", prcgb, prcgb.ToString(), "단가구분", (decimal)1);
            dict["chegb"]       = new XAQueryFieldInfo("char", chegb, chegb.ToString(), "체결구분", (decimal)1);
            dict["dangb"]       = new XAQueryFieldInfo("char", dangb, dangb.ToString(), "단일가구분", (decimal)1);
            dict["charge"]      = new XAQueryFieldInfo("char", charge, charge.ToString(), "제비용포함여부", (decimal)1);
            dict["cts_expcode"] = new XAQueryFieldInfo("char", cts_expcode, cts_expcode, "CTS_종목번호", (decimal)22);

            return(dict);
        }
Exemplo n.º 21
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["recdt"]   = new XAQueryFieldInfo("char", recdt, recdt, "기준일", (decimal)8);
            dict["tableid"] = new XAQueryFieldInfo("char", tableid, tableid, "테이블아이디", (decimal)6);
            dict["upgu"]    = new XAQueryFieldInfo("char", upgu, upgu, "업무구분", (decimal)2);
            dict["custno"]  = new XAQueryFieldInfo("char", custno, custno, "발행체번호", (decimal)5);
            dict["custnm"]  = new XAQueryFieldInfo("char", custnm, custnm, "발행회사명", (decimal)80);
            dict["shcode"]  = new XAQueryFieldInfo("char", shcode, shcode, "종목코드", (decimal)6);
            dict["upnm"]    = new XAQueryFieldInfo("char", upnm, upnm, "업무명", (decimal)20);

            return(dict);
        }
Exemplo n.º 22
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["shcode"]   = new XAQueryFieldInfo("char", shcode, shcode, "종목코드", (decimal)6);
            dict["todt"]     = new XAQueryFieldInfo("char", todt, todt, "종료일자", (decimal)8);
            dict["volvalgb"] = new XAQueryFieldInfo("char", volvalgb, volvalgb.ToString(), "금액수량구분(0:금액1:수량2:단가)", (decimal)1);
            dict["msmdgb"]   = new XAQueryFieldInfo("char", msmdgb, msmdgb.ToString(), "매수매도구분(0:순매수1:매수2:매도)", (decimal)1);
            dict["cumulgb"]  = new XAQueryFieldInfo("char", cumulgb, cumulgb.ToString(), "누적구분(0:일간1:누적)", (decimal)1);
            dict["cts_date"] = new XAQueryFieldInfo("char", cts_date, cts_date, "CTSDATE", (decimal)8);
            dict["cts_idx"]  = new XAQueryFieldInfo("long", cts_idx, cts_idx.ToString("d4"), "CTSIDX", (decimal)4);

            return(dict);
        }
Exemplo n.º 23
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["sunamt"]      = new XAQueryFieldInfo("long", sunamt, sunamt.ToString("d18"), "추정순자산", (decimal)18);
            dict["dtsunik"]     = new XAQueryFieldInfo("long", dtsunik, dtsunik.ToString("d18"), "실현손익", (decimal)18);
            dict["mamt"]        = new XAQueryFieldInfo("long", mamt, mamt.ToString("d18"), "매입금액", (decimal)18);
            dict["sunamt1"]     = new XAQueryFieldInfo("long", sunamt1, sunamt1.ToString("d18"), "추정D2예수금", (decimal)18);
            dict["cts_expcode"] = new XAQueryFieldInfo("char", cts_expcode, cts_expcode, "CTS_종목번호", (decimal)22);
            dict["tappamt"]     = new XAQueryFieldInfo("long", tappamt, tappamt.ToString("d18"), "평가금액", (decimal)18);
            dict["tdtsunik"]    = new XAQueryFieldInfo("long", tdtsunik, tdtsunik.ToString("d18"), "평가손익", (decimal)18);

            return(dict);
        }
Exemplo n.º 24
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["symbol"] = new XAQueryFieldInfo("char", symbol, symbol, "심벌", (decimal)16);
            dict["hname"]  = new XAQueryFieldInfo("char", hname, hname, "지수명", (decimal)20);
            dict["close"]  = new XAQueryFieldInfo("float", close, close.ToString("000000000000.00"), "지수", (decimal)12.2);
            dict["sign"]   = new XAQueryFieldInfo("char", sign, sign.ToString(), "대비구분", (decimal)1);
            dict["change"] = new XAQueryFieldInfo("float", change, change.ToString("000000.00"), "대비", (decimal)6.2);
            dict["diff"]   = new XAQueryFieldInfo("float", diff, diff.ToString("000000.00"), "등락율", (decimal)6.2);
            dict["date"]   = new XAQueryFieldInfo("char", date, date, "일자", (decimal)8);

            return(dict);
        }
Exemplo n.º 25
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["kind"]     = new XAQueryFieldInfo("char", kind, kind.ToString(), "종목종류", (decimal)1);
            dict["symbol"]   = new XAQueryFieldInfo("char", symbol, symbol, "SYMBOL", (decimal)16);
            dict["cnt"]      = new XAQueryFieldInfo("long", cnt, cnt.ToString("d4"), "입력건수", (decimal)4);
            dict["jgbn"]     = new XAQueryFieldInfo("char", jgbn, jgbn.ToString(), "조회구분", (decimal)1);
            dict["nmin"]     = new XAQueryFieldInfo("long", nmin, nmin.ToString("d3"), "N분", (decimal)3);
            dict["cts_date"] = new XAQueryFieldInfo("char", cts_date, cts_date, "CTS_DATE", (decimal)8);
            dict["cts_time"] = new XAQueryFieldInfo("char", cts_time, cts_time, "CTS_TIME", (decimal)6);

            return(dict);
        }
Exemplo n.º 26
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["shcode"]   = new XAQueryFieldInfo("char", shcode, shcode, "단축코드", (decimal)8);
            dict["gubun"]    = new XAQueryFieldInfo("char", gubun, gubun.ToString(), "주기구분(2:일3:주4:월)", (decimal)1);
            dict["qrycnt"]   = new XAQueryFieldInfo("long", qrycnt, qrycnt.ToString("d4"), "요청건수(최대-압축:2000비압축:500)", (decimal)4);
            dict["sdate"]    = new XAQueryFieldInfo("char", sdate, sdate, "시작일자", (decimal)8);
            dict["edate"]    = new XAQueryFieldInfo("char", edate, edate, "종료일자", (decimal)8);
            dict["cts_date"] = new XAQueryFieldInfo("char", cts_date, cts_date, "연속일자", (decimal)8);
            dict["comp_yn"]  = new XAQueryFieldInfo("char", comp_yn, comp_yn.ToString(), "압축여부(Y:압축N:비압축)", (decimal)1);

            return(dict);
        }
Exemplo n.º 27
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["RecCnt"]     = new XAQueryFieldInfo("long", RecCnt, RecCnt.ToString("d5"), "레코드갯수", (decimal)5);
            dict["OrgOrdNo"]   = new XAQueryFieldInfo("long", OrgOrdNo, OrgOrdNo.ToString("d10"), "원주문번호", (decimal)10);
            dict["AcntNo"]     = new XAQueryFieldInfo("char", AcntNo, AcntNo, "계좌번호", (decimal)20);
            dict["Pwd"]        = new XAQueryFieldInfo("char", Pwd, Pwd, "비밀번호", (decimal)8);
            dict["FnoIsuNo"]   = new XAQueryFieldInfo("char", FnoIsuNo, FnoIsuNo, "선물옵션종목번호", (decimal)12);
            dict["CancQty"]    = new XAQueryFieldInfo("long", CancQty, CancQty.ToString("d16"), "취소수량", (decimal)16);
            dict["CommdaCode"] = new XAQueryFieldInfo("char", CommdaCode, CommdaCode, "통신매체코드", (decimal)2);

            return(dict);
        }
Exemplo n.º 28
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["focode"]   = new XAQueryFieldInfo("char", focode, focode, "단축코드", (decimal)8);
            dict["bgubun"]   = new XAQueryFieldInfo("char", bgubun, bgubun.ToString(), "분구분", (decimal)1);
            dict["nmin"]     = new XAQueryFieldInfo("int", nmin, nmin.ToString("d2"), "N분", (decimal)2);
            dict["etime"]    = new XAQueryFieldInfo("char", etime, etime, "종료시간", (decimal)4);
            dict["hgubun"]   = new XAQueryFieldInfo("char", hgubun, hgubun.ToString(), "호가구분", (decimal)1);
            dict["cnt"]      = new XAQueryFieldInfo("int", cnt, cnt.ToString("d3"), "조회건수", (decimal)3);
            dict["cts_time"] = new XAQueryFieldInfo("char", cts_time, cts_time, "시간CTS", (decimal)6);

            return(dict);
        }
Exemplo n.º 29
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["cts_date"] = new XAQueryFieldInfo("char", cts_date, cts_date, "IDXDATE", (decimal)8);
            dict["price"]    = new XAQueryFieldInfo("long", price, price.ToString("d8"), "현재가", (decimal)8);
            dict["sign"]     = new XAQueryFieldInfo("char", sign, sign.ToString(), "대비속성", (decimal)1);
            dict["change"]   = new XAQueryFieldInfo("long", change, change.ToString("d8"), "대비", (decimal)8);
            dict["diff"]     = new XAQueryFieldInfo("float", diff, diff.ToString("000000.00"), "등락율", (decimal)6.2);
            dict["volume"]   = new XAQueryFieldInfo("long", volume, volume.ToString("d12"), "거래량", (decimal)12);
            dict["value"]    = new XAQueryFieldInfo("long", value, value.ToString("d12"), "거래대금", (decimal)12);

            return(dict);
        }
Exemplo n.º 30
0
        public override Dictionary <string, XAQueryFieldInfo> GetFieldsInfo()
        {
            Dictionary <string, XAQueryFieldInfo> dict = new Dictionary <string, XAQueryFieldInfo>();

            dict["shcode"]  = new XAQueryFieldInfo("char", shcode, shcode, "종목코드", (decimal)6);
            dict["vptype"]  = new XAQueryFieldInfo("char", vptype, vptype.ToString(), "상승하락", (decimal)1);
            dict["datacnt"] = new XAQueryFieldInfo("long", datacnt, datacnt.ToString("d4"), "데이터개수", (decimal)4);
            dict["date"]    = new XAQueryFieldInfo("long", date, date.ToString("d8"), "기준일자", (decimal)8);
            dict["time"]    = new XAQueryFieldInfo("long", time, time.ToString("d6"), "기준시간", (decimal)6);
            dict["rankcnt"] = new XAQueryFieldInfo("long", rankcnt, rankcnt.ToString("d3"), "랭크카운터", (decimal)3);
            dict["gubun"]   = new XAQueryFieldInfo("char", gubun, gubun.ToString(), "조회구분", (decimal)1);

            return(dict);
        }