Example #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));
 }
Example #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));
        }
Example #3
0
 public Securities(SecuritiesTypes secType, MarketType marketType, String code)
 {
     this.Type       = secType;
     this.MarketType = marketType;
     this.Symbol     = code + "." + marketType.ToString();
 }
Example #4
0
 public Securities(SecuritiesTypes secType, MarketType marketType, String code)
 {
     this.Type = secType;
     this.MarketType = marketType;
     this.Symbol = code + "." + marketType.ToString();
 }