예제 #1
0
 public static void UpdateBalances(string account, TrCallback callback)
 {
     SetInputValue("계좌번호", account);
     SetInputValue("비밀번호", "");
     SetInputValue("상장폐지조회구분", "1");
     SetInputValue("비밀번호입력매체구분", "00");
     CommRqData("계좌평가", "OPW00004", callback);
 }
예제 #2
0
        public static void CommRqData(string rq, string sTrCode, TrCallback callback, int seq = 0)
        {
            if (_trs.ContainsKey(sTrCode))
            {
                Debug.Warn("Previous {0} is not finished yet. Request will be ignored", sTrCode);
                return;
            }

            _api.CommRqData(rq, sTrCode, seq, "6000");
            _trs[sTrCode] = callback;
        }