Exemplo n.º 1
0
        public ITradingTimeReader_Code CreateTradingTimeReader(string code)
        {
            IList <ITradingTime>   sessions = tradingTimeStore.Load(code);
            CacheUtils_TradingTime cache    = new CacheUtils_TradingTime(code, sessions);

            return(cache);
        }
Exemplo n.º 2
0
 public TradingTimeReader(string code, ITradingTimeStore tradingSessionStore)
 {
     this.code = code;
     this.tradingSessionStore = tradingSessionStore;
     this.cache = new CacheUtils_TradingTime(code, tradingSessionStore.Load(code));
 }