Class ExchangeParameters.Rates
java.lang.Object
tech.cassandre.trading.bot.util.parameters.ExchangeParameters.Rates
- Enclosing class:
- ExchangeParameters
@Validated
@ConfigurationProperties(prefix="cassandre.trading.bot.exchange.rates")
public static class ExchangeParameters.Rates
extends Object
Exchange API rate calls.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns account rate value in ms.long
Returns ticker rate value in ms.getTrade()
long
Returns trade rate value in ms.void
setAccount
(String account) void
void
toString()
-
Constructor Details
-
Rates
public Rates()
-
-
Method Details
-
getAccountValueInMs
public long getAccountValueInMs()Returns account rate value in ms.- Returns:
- account rate value in ms
-
getTickerValueInMs
public long getTickerValueInMs()Returns ticker rate value in ms.- Returns:
- ticker rate value in ms
-
getTradeValueInMs
public long getTradeValueInMs()Returns trade rate value in ms.- Returns:
- trade rate value in ms
-
getAccount
-
getTicker
-
getTrade
-
setAccount
-
setTicker
-
setTrade
-
toString
-