Class ExchangeParameters


  • @Validated
    @ConfigurationProperties(prefix="cassandre.trading.bot.exchange")
    public class ExchangeParameters
    extends Object
    Exchange parameters from application.properties.
    • Constructor Detail

      • ExchangeParameters

        public ExchangeParameters()
    • Method Detail

      • getName

        public String getName()
        Getter for name.
        Returns:
        name
      • setName

        public void setName​(String newName)
        Setter for name.
        Parameters:
        newName - the name to set
      • setModes

        public void setModes​(ExchangeParameters.Modes newModes)
        Setter modes.
        Parameters:
        newModes - the modes to set
      • getUsername

        public String getUsername()
        Getter for username.
        Returns:
        username
      • setUsername

        public void setUsername​(String newUsername)
        Setter for username.
        Parameters:
        newUsername - the username to set
      • getPassphrase

        public String getPassphrase()
        Getter for passphrase.
        Returns:
        passphrase
      • setPassphrase

        public void setPassphrase​(String newPassphrase)
        Setter for passphrase.
        Parameters:
        newPassphrase - the passphrase to set
      • getKey

        public String getKey()
        Getter for key.
        Returns:
        key
      • setKey

        public void setKey​(String newKey)
        Setter for key.
        Parameters:
        newKey - the key to set
      • getSecret

        public String getSecret()
        Getter for secret.
        Returns:
        secret
      • setSecret

        public void setSecret​(String newSecret)
        Setter for secret.
        Parameters:
        newSecret - the secret to set
      • getProxyHost

        public String getProxyHost()
        Getter proxyHost.
        Returns:
        proxyHost
      • setProxyHost

        public void setProxyHost​(String newProxyHost)
        Setter proxyHost.
        Parameters:
        newProxyHost - the proxyHost to set
      • getProxyPort

        public Integer getProxyPort()
        Getter proxyPort.
        Returns:
        proxyPort
      • setProxyPort

        public void setProxyPort​(Integer newProxyPort)
        Setter proxyPort.
        Parameters:
        newProxyPort - the proxyPort to set
      • setRates

        public void setRates​(ExchangeParameters.Rates newRates)
        Setter for rate.
        Parameters:
        newRates - the rate to set