示例#1
0
 public AlphaVantage(StockServiceSettings settings, string logPath)
 {
     _settings          = settings;
     _throttle          = StockQuoteThrottle.Load("AlphaVantageThrottle.xml");
     _throttle.Settings = settings;
     settings.Name      = FriendlyName;
     _logPath           = logPath;
 }
示例#2
0
 public IEXCloud(StockServiceSettings settings, string logPath)
 {
     _settings          = settings;
     settings.Name      = FriendlyName;
     _logPath           = logPath;
     _throttle          = StockQuoteThrottle.Load("IEXTradingThrottle.xml");
     _throttle.Settings = settings;
 }
示例#3
0
 public static bool IsMySettings(StockServiceSettings settings)
 {
     return(settings.Name == FriendlyName);
 }