Class ImportedCandle
java.lang.Object
tech.cassandre.trading.bot.domain.ImportedCandle
Imported candles (map "IMPORTED_CANDLES" table).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
getClose()
Closing price (last trade) in the bucket interval.The currency-pair.Returns currency pair DTO.getHigh()
Highest price during the bucket interval.getLow()
Lowest price during the bucket interval.getOpen()
Opening price (first trade) in the bucket interval.Bucket start time.getUid()
Technical ID.Volume of trading activity during the bucket interval.final int
hashCode()
void
setClose
(BigDecimal close) Closing price (last trade) in the bucket interval.void
setCurrencyPair
(String newCurrencyPair) Setter currencyPair.void
setHigh
(BigDecimal high) Highest price during the bucket interval.void
setLow
(BigDecimal low) Lowest price during the bucket interval.void
setOpen
(BigDecimal open) Opening price (first trade) in the bucket interval.void
setTimestamp
(ZonedDateTime timestamp) Bucket start time.void
Technical ID.void
setVolume
(BigDecimal volume) Volume of trading activity during the bucket interval.toString()
-
Constructor Details
-
ImportedCandle
public ImportedCandle()
-
-
Method Details
-
getCurrencyPairDTO
Returns currency pair DTO.- Returns:
- currency pair DTO
-
setCurrencyPair
Setter currencyPair.- Parameters:
newCurrencyPair
- the currencyPair to set
-
equals
-
hashCode
public final int hashCode() -
getUid
Technical ID. -
getCurrencyPair
The currency-pair. -
getOpen
Opening price (first trade) in the bucket interval. -
getHigh
Highest price during the bucket interval. -
getLow
Lowest price during the bucket interval. -
getClose
Closing price (last trade) in the bucket interval. -
getVolume
Volume of trading activity during the bucket interval. -
getTimestamp
Bucket start time. -
setUid
Technical ID. -
setOpen
Opening price (first trade) in the bucket interval. -
setHigh
Highest price during the bucket interval. -
setLow
Lowest price during the bucket interval. -
setClose
Closing price (last trade) in the bucket interval. -
setVolume
Volume of trading activity during the bucket interval. -
setTimestamp
Bucket start time. -
toString
-