Interface BarAggregator

  • All Known Implementing Classes:
    DurationBarAggregator

    public interface BarAggregator
    Component to aggregate bars and provide a Flux of Bar.
    • Method Detail

      • update

        void update​(ZonedDateTime timestamp,
                    Number close,
                    Number high,
                    Number low,
                    Number volume)
        Updates the dar data.
        Parameters:
        timestamp - time of the tick
        close - close price
        high - high price
        low - low price
        volume - volume
      • getBarFlux

        reactor.core.publisher.Flux<org.ta4j.core.Bar> getBarFlux()
        Gets the Flux.
        Returns:
        flux of Bars