Package tech.cassandre.trading.bot.batch
Class TickerStreamFlux
java.lang.Object
tech.cassandre.trading.bot.util.base.Base
tech.cassandre.trading.bot.util.base.batch.BaseFlux<TickerDTO>
tech.cassandre.trading.bot.batch.TickerStreamFlux
-
Field Summary
Fields inherited from class tech.cassandre.trading.bot.util.base.Base
ACCOUNT_MAPPER, CANDLE_MAPPER, CURRENCY_MAPPER, logger, ORDER_MAPPER, POSITION_MAPPER, STRATEGY_MAPPER, TICKER_MAPPER, TRADE_MAPPER, UTIL_MAPPER
-
Constructor Summary
ConstructorsConstructorDescriptionTickerStreamFlux
(org.springframework.context.ApplicationContext applicationContext, info.bitrich.xchangestream.core.StreamingExchange streamingExchange) -
Method Summary
Modifier and TypeMethodDescriptionImplements this method to return all the new values.Methods inherited from class tech.cassandre.trading.bot.util.base.batch.BaseFlux
emitValue, emitValues, getFlux, getOverflowStrategy, saveValues, update
-
Constructor Details
-
TickerStreamFlux
public TickerStreamFlux(org.springframework.context.ApplicationContext applicationContext, info.bitrich.xchangestream.core.StreamingExchange streamingExchange)
-
-
Method Details
-
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 classBaseFlux<TickerDTO>
- Returns:
- list of new values
-