Class OhlcvTimeframeConsolidation


  • public class OhlcvTimeframeConsolidation
    extends java.lang.Object
    • Method Detail

      • createConsolidation

        public static IncrementalOhlcvConsolidation createConsolidation​(IntradayPeriod intradayPeriod,
                                                                        Interval<java.util.Calendar> tt,
                                                                        java.util.Map<java.lang.String,​OhlcvConsolidationAddon[]> addons)
        Create incremental consolidation (re-sampling) of OHLC/V.
        Parameters:
        intradayPeriod - required re-sampled period.
        tt - time template range. Necessary for perfect consolidation times are calculated from beginning of the TT and ending of TT. If missing (null), the "00:00" time is selected as beginning for consolidation algorithm.
        addons - which can extend re-sampling process about additional services to add more specific behaviours.
        Returns:
        prepared service for incremental consolidation.