Exemple #1
0
        public string get_symbol_info(string code, InfoType infoType)
        {
            try
            {
                Excel_marketDataSymbol e_mds = Excel_marketDataSymbol.getDefinedSymbol(code);

                string vba_desc = e_mds.vba_desciption();

                return(this.infoParsing(vba_desc, infoType));
            }
            catch (Exception e)
            {
                string errStr = "get schdule info fail: " + e.Message;

                return(errStr);
            }
        }
Exemple #2
0
        public string get_underlyingInfo(string code, InfoType infoType)
        {
            try
            {
                Excel_marketDataSymbol e_mds = Excel_marketDataSymbol.getDefinedSymbol(code);

                Excel_underlyingInfoViewModel e_uivm = e_mds.underlyingInfoVM();

                string vba_desc = e_uivm.vba_desciption();

                return(this.infoParsing(vba_desc, infoType));
            }
            catch (Exception e)
            {
                return("add fail : " + e.Message);
            }
        }