Interface BarAggregator
-
- All Known Implementing Classes:
DurationBarAggregator
public interface BarAggregator
Component to aggregate bars and provide a Flux ofBar
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Flux<org.ta4j.core.Bar>
getBarFlux()
Gets theFlux
.void
update(ZonedDateTime timestamp, Number latestPrice)
Updates the dar data.
-
-
-
Method Detail
-
update
void update(ZonedDateTime timestamp, Number latestPrice)
Updates the dar data.- Parameters:
timestamp
- time of the ticklatestPrice
- latest price
-
getBarFlux
reactor.core.publisher.Flux<org.ta4j.core.Bar> getBarFlux()
Gets theFlux
.- Returns:
- flux of Bars
-
-