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 latestPrice)
        Updates the dar data.
        Parameters:
        timestamp - time of the tick
        latestPrice - latest price
      • getBarFlux

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