Class ExchangeParameters.Rates
- java.lang.Object
-
- tech.cassandre.trading.bot.util.parameters.ExchangeParameters.Rates
-
- Enclosing class:
- ExchangeParameters
@ConfigurationProperties(prefix="cassandre.trading.bot.exchange.rates") public static class ExchangeParameters.Rates extends Object
Exchange API rate calls.
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAMETER_RATE_ACCOUNT
Rate for account parameter.static String
PARAMETER_RATE_TICKER
Rate for ticker parameter.static String
PARAMETER_RATE_TRADE
Rate for order parameter.
-
Constructor Summary
Constructors Constructor Description Rates()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccount()
Getter for account.String
getTicker()
Getter for ticker.String
getTrade()
Getter for order.void
setAccount(String newAccount)
Setter for account.void
setTicker(String newTicker)
Setter for ticker.void
setTrade(String newOrder)
Setter for order.String
toString()
-
-
-
Field Detail
-
PARAMETER_RATE_ACCOUNT
public static final String PARAMETER_RATE_ACCOUNT
Rate for account parameter.- See Also:
- Constant Field Values
-
PARAMETER_RATE_TICKER
public static final String PARAMETER_RATE_TICKER
Rate for ticker parameter.- See Also:
- Constant Field Values
-
PARAMETER_RATE_TRADE
public static final String PARAMETER_RATE_TRADE
Rate for order parameter.- See Also:
- Constant Field Values
-
-
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
-
-