Class IntradayPeriod


  • public class IntradayPeriod
    extends Period
    Intraday Periods Domain object
    Author:
    afischer
    • Constructor Detail

      • IntradayPeriod

        public IntradayPeriod​(IntradayPeriod.IntradayPeriodEnum period,
                              double periodValue,
                              java.lang.Double minimalMoveSymbol,
                              boolean extendedCalculation,
                              java.lang.String calculationAddonServicesType)
    • Method Detail

      • getPeriodValue

        public double getPeriodValue()
      • getCalculationAddonServicesType

        public java.lang.String getCalculationAddonServicesType()
        Returns:
        provides type of ADDONs for OHLC calculation services
      • getMinimalMoveSymbol

        public java.lang.Double getMinimalMoveSymbol()
        Returns:
        minimal move of market is necessary for range bars
      • isExtendedCalculation

        public boolean isExtendedCalculation()
        Returns:
        defines calculation of extended bid ask volumes for order flow
      • getMillis

        public long getMillis()
        Specified by:
        getMillis in class Period
        Returns:
        get period in millis
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Period
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class Period
      • convert

        public static IntradayPeriod convert​(java.lang.String periodString)