Esempio n. 1
0
 public Securities(SecuritiesTypes secType, String symbol)
 {
     this.Type = secType;
     this.Symbol = symbol;
     int index = symbol.IndexOf(".");
     this.MarketType = (MarketType)Enum.Parse(MarketType.GetType(), symbol.Substring(index+1));
 }
Esempio n. 2
0
        public Securities(SecuritiesTypes secType, String symbol)
        {
            this.Type   = secType;
            this.Symbol = symbol;
            int index = symbol.IndexOf(".");

            this.MarketType = (MarketType)Enum.Parse(MarketType.GetType(), symbol.Substring(index + 1));
        }
Esempio n. 3
0
 public Securities(SecuritiesTypes secType, MarketType marketType, String code)
 {
     this.Type       = secType;
     this.MarketType = marketType;
     this.Symbol     = code + "." + marketType.ToString();
 }
Esempio n. 4
0
 public Securities(SecuritiesTypes secType, MarketType marketType, String code)
 {
     this.Type = secType;
     this.MarketType = marketType;
     this.Symbol = code + "." + marketType.ToString();
 }