Class TickerFlux

    • Constructor Detail

      • TickerFlux

        public TickerFlux​(MarketService newMarketService)
        Constructor.
        Parameters:
        newMarketService - market service.
    • Method Detail

      • updateRequestedCurrencyPairs

        public void updateRequestedCurrencyPairs​(Set<CurrencyPairDTO> newRequestedCurrencyPairs)
        Update the list of requested currency pairs.
        Parameters:
        newRequestedCurrencyPairs - new list of requested currency pairs.
      • getNewValues

        protected final Set<TickerDTO> getNewValues()
        Description copied from class: BaseFlux
        Implements this method to return all the new values. Those values will be send to the strategy.
        Specified by:
        getNewValues in class BaseFlux<TickerDTO>
        Returns:
        list of new values