Class UserServiceDryModeAOP


@Component @ConditionalOnExpression("${cassandre.trading.bot.exchange.modes.dry:true}") public class UserServiceDryModeAOP extends BaseService
AOP for user service in dry mode.
  • Constructor Details

    • UserServiceDryModeAOP

      public UserServiceDryModeAOP(org.springframework.context.ApplicationContext newApplicationContext)
      Constructor.
      Parameters:
      newApplicationContext - application context
  • Method Details

    • getAccountInfo

      public final org.knowm.xchange.dto.account.AccountInfo getAccountInfo(org.aspectj.lang.ProceedingJoinPoint pjp)
    • addToBalance

      public void addToBalance(CassandreStrategy strategy, org.knowm.xchange.currency.Currency currency, BigDecimal amount)
      Update balance of trade account (method called by trade service).
      Parameters:
      strategy - strategy
      currency - currency
      amount - amount