Class StrategyAutoConfiguration
- java.lang.Object
-
- tech.cassandre.trading.bot.util.base.Base
-
- tech.cassandre.trading.bot.util.base.BaseConfiguration
-
- tech.cassandre.trading.bot.configuration.StrategyAutoConfiguration
-
@Configuration public class StrategyAutoConfiguration extends BaseConfiguration
ScheduleAutoConfiguration activates flux scheduler.
-
-
Constructor Summary
Constructors Constructor Description StrategyAutoConfiguration(org.springframework.context.ApplicationContext newApplicationContext, TradeService newTradeService, AccountFlux newAccountFlux, TickerFlux newTickerFlux, OrderFlux newOrderFlux)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure()
Search for the strategy and instantiate it.
-
-
-
Constructor Detail
-
StrategyAutoConfiguration
public StrategyAutoConfiguration(org.springframework.context.ApplicationContext newApplicationContext, TradeService newTradeService, AccountFlux newAccountFlux, TickerFlux newTickerFlux, OrderFlux newOrderFlux)
Constructor.- Parameters:
newApplicationContext
- application contextnewTradeService
- trade servicenewAccountFlux
- account fluxnewTickerFlux
- ticker fluxnewOrderFlux
- order flux.
-
-