Exemple #1
0
 public static AOption CreateFromYahooSymbol(string sSymbol, ESecType eSecType)
 {
     switch (eSecType)
     {
         case ESecType.Equity: return EquityOption.CreateFromYahooSymbol(sSymbol);
         case ESecType.Index: return IndexOption.CreateFromYahooSymbol(sSymbol);
         default: return null;
     }
 }
Exemple #2
0
 public static string GetYahooUnderling(string sStdSymbol, ESecType eSecType)
 {
     switch (eSecType)
     {
         case ESecType.Equity: return EquityOption.GetYahooUnderling(sStdSymbol);
         case ESecType.Index:  return IndexOption.GetYahooUnderling(sStdSymbol);
         default: return null;
     }
 }