Class ExchangeParameters.Modes
- java.lang.Object
-
- tech.cassandre.trading.bot.util.parameters.ExchangeParameters.Modes
-
- Enclosing class:
- ExchangeParameters
@Validated @ConfigurationProperties(prefix="cassandre.trading.bot.exchange.modes") public class ExchangeParameters.Modes extends Object
Exchange API rate calls.
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAMETER_EXCHANGE_DRY
Dry parameter.static String
PARAMETER_EXCHANGE_SANDBOX
Sandbox parameter.
-
Constructor Summary
Constructors Constructor Description Modes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
isDry()
Getter dry.Boolean
isSandbox()
Getter for sandbox.void
setDry(Boolean newDry)
Setter dry.void
setSandbox(Boolean newSandbox)
Setter for sandbox.String
toString()
-
-
-
Field Detail
-
PARAMETER_EXCHANGE_SANDBOX
public static final String PARAMETER_EXCHANGE_SANDBOX
Sandbox parameter.- See Also:
- Constant Field Values
-
PARAMETER_EXCHANGE_DRY
public static final String PARAMETER_EXCHANGE_DRY
Dry parameter.- See Also:
- Constant Field Values
-
-
Method Detail
-
isSandbox
public Boolean isSandbox()
Getter for sandbox.- Returns:
- sandbox
-
setSandbox
public void setSandbox(Boolean newSandbox)
Setter for sandbox.- Parameters:
newSandbox
- the sandbox to set
-
isDry
public Boolean isDry()
Getter dry.- Returns:
- dry
-
setDry
public void setDry(Boolean newDry)
Setter dry.- Parameters:
newDry
- the dry to set
-
-