Package tech.cassandre.trading.bot.batch
Class TickerFlux
- java.lang.Object
-
- tech.cassandre.trading.bot.util.base.Base
-
- tech.cassandre.trading.bot.util.base.BaseFlux<TickerDTO>
-
- tech.cassandre.trading.bot.batch.TickerFlux
-
-
Constructor Summary
Constructors Constructor Description TickerFlux(MarketService newMarketService)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<TickerDTO>
getNewValues()
Implements this method to return all the new values.void
updateRequestedCurrencyPairs(Set<CurrencyPairDTO> newRequestedCurrencyPairs)
Update the list of requested currency pairs.-
Methods inherited from class tech.cassandre.trading.bot.util.base.BaseFlux
emitValue, getFlux, getOverflowStrategy, update
-
-
-
-
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.
-
-