Package com.quantcomponents.core.calendar

Examples of com.quantcomponents.core.calendar.CalendarTradingSchedule


    this.ignoreLastPeriod = ignoreLastPeriod;
    if (ignoreLastPeriod) {
      shortAveragePeriods++;
      longAveragePeriods++;
    }
    ITradingSchedule tradingSchedule = new CalendarTradingSchedule(tradingCalendar);
    shortAveragingTail = new TimeSeriesTail<IOHLCPoint>(tradingSchedule, shortAveragePeriods);
    longAveragingTail = new TimeSeriesTail<IOHLCPoint>(tradingSchedule, longAveragePeriods);
  }
View Full Code Here


    return tradingCalendar;
 

  private void setTradingCalendar(ITradingCalendar tradingCalendar) {
    this.tradingCalendar = tradingCalendar;
    tradingSchedule = new CalendarTradingSchedule(tradingCalendar);
  }
View Full Code Here

  private final List<IMark<Date>> parentMarks;
  private final int pointWidth;

  public TimeAxis(ITradingCalendar tradingCalendar, IMarkScaleSelector<Date> scaleSelector, Date rangeLow, Date rangeHigh, int pixelLow, int pixelHigh, long pointInterval, int maxMarkNumber) {
    this.tradingCalendar = tradingCalendar;
    tradingSchedule = new CalendarTradingSchedule(tradingCalendar);
    dayScale = new DayScale(tradingCalendar.getTimeZone());
    setRangeLow(rangeLow);
    setRangeHigh(rangeHigh);
    setPixelLow(pixelLow);
    setPixelHigh(pixelHigh);
View Full Code Here

TOP

Related Classes of com.quantcomponents.core.calendar.CalendarTradingSchedule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.