private Quarter(string ticker, FiscalQuarterPeriod period, PropertyDictionary properties, PropertyDescriptionDictionary descriptions)
 {
     this.ticker       = ticker;
     this.period       = period;
     this.properties   = properties;
     this.descriptions = descriptions;
 }
示例#2
0
 private Daily(string ticker, DayPeriod period, PropertyDictionary properties, PropertyDescriptionDictionary descriptions)
 {
     this.ticker       = ticker;
     this.period       = period;
     this.properties   = properties;
     this.descriptions = descriptions;
 }
 public static Company Create(
     string ticker,
     PeriodRange <FiscalQuarterPeriod> fixedTierQuarterRange,
     PeriodRange <FiscalQuarterPeriod> ondemandQuarterTierRange,
     PeriodRange <DayPeriod> fixedTierDayRange,
     PeriodRange <DayPeriod> ondemandTierDayRange,
     PropertyDictionary properties,
     PropertyDescriptionDictionary descriptions)
 {
     JpTickerValidator.Validate(ticker);
     return(new Company(ticker, fixedTierQuarterRange, ondemandQuarterTierRange, fixedTierDayRange, ondemandTierDayRange, properties, descriptions));
 }
 private Company(string ticker,
                 PeriodRange <FiscalQuarterPeriod> fixedTierQuarterRange,
                 PeriodRange <FiscalQuarterPeriod> ondemandTierQuarterRange,
                 PeriodRange <DayPeriod> fixedTierDayRange,
                 PeriodRange <DayPeriod> ondemandTierDayRange,
                 PropertyDictionary properties,
                 PropertyDescriptionDictionary descriptions)
 {
     this.ticker = ticker;
     this.supportedQuarterRanges = new SupportedTierRange <FiscalQuarterPeriod>(fixedTierQuarterRange, ondemandTierQuarterRange);
     this.supportedDayRanges     = new SupportedTierRange <DayPeriod>(fixedTierDayRange, ondemandTierDayRange);
     this.properties             = properties;
     this.descriptions           = descriptions;
 }
示例#5
0
 public static Daily Create(string ticker, DayPeriod period, PropertyDictionary properties, PropertyDescriptionDictionary descriptions)
 {
     JpTickerValidator.Validate(ticker);
     return(new Daily(ticker, period, properties, descriptions));
 }
 public static Indicator Create(string ticker, PropertyDictionary properties, PropertyDescriptionDictionary descriptions)
 {
     JpTickerValidator.Validate(ticker);
     return(new Indicator(ticker, properties, descriptions));
 }
 private Indicator(string ticker, PropertyDictionary properties, PropertyDescriptionDictionary descriptions)
 {
     this.ticker       = ticker;
     this.properties   = properties;
     this.descriptions = descriptions;
 }
        public static Quarter Create(string ticker, uint fiscalYear, uint fiscalQuarter, PropertyDictionary properties, PropertyDescriptionDictionary descriptions)
        {
            JpTickerValidator.Validate(ticker);
            var period = FiscalQuarterPeriod.Create(fiscalYear, fiscalQuarter);

            return(new Quarter(ticker, period, properties, descriptions));
        }