Package tech.cassandre.trading.bot.batch
Class TickerFlux
- java.lang.Object
-
- tech.cassandre.trading.bot.util.base.Base
-
- tech.cassandre.trading.bot.util.base.batch.BaseFlux<TickerDTO>
-
- tech.cassandre.trading.bot.batch.TickerFlux
-
-
Field Summary
-
Fields inherited from class tech.cassandre.trading.bot.util.base.Base
accountMapper, currencyMapper, logger, orderMapper, positionMapper, strategyMapper, tickerMapper, tradeMapper, utilMapper
-
-
Constructor Summary
Constructors Constructor Description TickerFlux(org.springframework.context.ApplicationContext applicationContext, MarketService marketService)
-
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.protected Set<TickerDTO>
saveValues(Set<TickerDTO> newValues)
Implements this method to save values coming from flux.-
Methods inherited from class tech.cassandre.trading.bot.util.base.batch.BaseFlux
emitValue, emitValues, getFlux, getOverflowStrategy, update
-
-
-
-
Constructor Detail
-
TickerFlux
public TickerFlux(org.springframework.context.ApplicationContext applicationContext, MarketService marketService)
-
-