Beispiel #1
0
        /// <summary>提取标的交易所信息
        /// </summary>
        public static StockExchangeInfo Get_StockExchangeInfo(typeStockExchange stockExchange)
        {
            StockExchangeInfo pStockExchangeInfo = null;

            if (_stockExchangeInfos.TryGetValue(stockExchange, out pStockExchangeInfo))
            {
            }

            if (pStockExchangeInfo == null)
            {
                pStockExchangeInfo = new StockExchangeInfo(stockExchange);
                _stockExchangeInfos[stockExchange] = pStockExchangeInfo;
            }
            return(pStockExchangeInfo);
        }
Beispiel #2
0
 /// <summary>获取标的交易所信息
 /// </summary>
 public StockExchangeInfo Get_StockExchangeInfo()
 {
     return(StockExchangeInfo.Get_StockExchangeInfo(this.StockExchange));
 }