Class TickerStreamFlux


public class TickerStreamFlux extends BaseFlux<TickerDTO>
Ticker stream flux - push TickerDTO. It registers for tickers streams from the exchange. To get a deep understanding of how it works, read the documentation of BaseFlux.
  • Constructor Details

    • TickerStreamFlux

      public TickerStreamFlux(org.springframework.context.ApplicationContext applicationContext, info.bitrich.xchangestream.core.StreamingExchange streamingExchange)
  • Method Details

    • getNewValues

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