Package tech.cassandre.trading.bot.batch
Class TradeFlux
- java.lang.Object
-
- tech.cassandre.trading.bot.util.base.Base
-
- tech.cassandre.trading.bot.util.base.batch.BaseFlux<TradeDTO>
-
- tech.cassandre.trading.bot.batch.TradeFlux
-
-
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 TradeFlux(OrderRepository orderRepository, TradeRepository tradeRepository, TradeService tradeService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<TradeDTO>
getNewValues()
Implements this method to return all the new values.Set<TradeDTO>
saveValues(Set<TradeDTO> 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
-
TradeFlux
public TradeFlux(OrderRepository orderRepository, TradeRepository tradeRepository, TradeService tradeService)
-
-