Class ExchangeParameters.Rates

  • Enclosing class:
    ExchangeParameters

    @Validated
    @ConfigurationProperties(prefix="cassandre.trading.bot.exchange.rates")
    public static class ExchangeParameters.Rates
    extends Object
    Exchange API rate calls.
    • Field Detail

      • PARAMETER_EXCHANGE_RATE_ACCOUNT

        public static final String PARAMETER_EXCHANGE_RATE_ACCOUNT
        Rate for account parameter.
        See Also:
        Constant Field Values
      • PARAMETER_EXCHANGE_RATE_TICKER

        public static final String PARAMETER_EXCHANGE_RATE_TICKER
        Rate for ticker parameter.
        See Also:
        Constant Field Values
      • PARAMETER_EXCHANGE_RATE_TRADE

        public static final String PARAMETER_EXCHANGE_RATE_TRADE
        Rate for order parameter.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Rates

        public Rates()
    • Method Detail

      • getAccount

        public String getAccount()
        Getter for account.
        Returns:
        account
      • setAccount

        public void setAccount​(String newAccount)
        Setter for account.
        Parameters:
        newAccount - the account to set
      • getTicker

        public String getTicker()
        Getter for ticker.
        Returns:
        ticker
      • setTicker

        public void setTicker​(String newTicker)
        Setter for ticker.
        Parameters:
        newTicker - the ticker to set
      • getTrade

        public String getTrade()
        Getter for order.
        Returns:
        order
      • setTrade

        public void setTrade​(String newOrder)
        Setter for order.
        Parameters:
        newOrder - the order