Classes managing the user strategy configuration.
This class does the following steps :
- Check there is one and only one User strategy marked with the @CassandreStrategy annotation.
- Check this strategy extends BasicCassandreStrategy.
- Connect the AccountFlux to the
onAccountUpdate()method of the strategy.
- Connect the TickerFlux to the
onTickerUpdate()method of the strategy (after calling
getRequestedCurrencyPairs()on strategy to know which currency pairs to retrieve).
- Connect the OrderFlux to the
onOrderUpdate()method of the strategy.
- Set the trade service.