Class ImportedTicker
java.lang.Object
tech.cassandre.trading.bot.domain.ImportedTicker
Imported tickers (map "IMPORTED_TICKERS" table).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
getAsk()
The ask price shown represents the lowest bid price.The ask size represents the quantity of a security that investors are willing to sell at a specified selling price.getBid()
The bid price shown represents the highest bid price.The bid size represents the quantity of a security that investors are willing to purchase at a specified bid price.The currency-pair.Returns currency pair DTO.getHigh()
The day’s high price.getLast()
Last trade field is the price set during the last trade.getLow()
The day’s low price.getOpen()
The opening price is the first trade price that was recorded during the day’s trading.Quote volume.Information timestamp.getUid()
Technical ID.Volume is the number of shares or contracts traded.getVwap()
Volume-weighted average price (VWAP) is the ratio of the value traded to total volume traded over a particular time horizon (usually one day).final int
hashCode()
void
setAsk
(BigDecimal ask) The ask price shown represents the lowest bid price.void
setAskSize
(BigDecimal askSize) The ask size represents the quantity of a security that investors are willing to sell at a specified selling price.void
setBid
(BigDecimal bid) The bid price shown represents the highest bid price.void
setBidSize
(BigDecimal bidSize) The bid size represents the quantity of a security that investors are willing to purchase at a specified bid price.void
setCurrencyPair
(String newCurrencyPair) Setter currencyPair.void
setHigh
(BigDecimal high) The day’s high price.void
setLast
(BigDecimal last) Last trade field is the price set during the last trade.void
setLow
(BigDecimal low) The day’s low price.void
setOpen
(BigDecimal open) The opening price is the first trade price that was recorded during the day’s trading.void
setQuoteVolume
(BigDecimal quoteVolume) Quote volume.void
setTimestamp
(ZonedDateTime timestamp) Information timestamp.void
Technical ID.void
setVolume
(BigDecimal volume) Volume is the number of shares or contracts traded.void
setVwap
(BigDecimal vwap) Volume-weighted average price (VWAP) is the ratio of the value traded to total volume traded over a particular time horizon (usually one day).toString()
-
Constructor Details
-
ImportedTicker
public ImportedTicker()
-
-
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
The opening price is the first trade price that was recorded during the day’s trading. -
getLast
Last trade field is the price set during the last trade. -
getBid
The bid price shown represents the highest bid price. -
getAsk
The ask price shown represents the lowest bid price. -
getHigh
The day’s high price. -
getLow
The day’s low price. -
getVwap
Volume-weighted average price (VWAP) is the ratio of the value traded to total volume traded over a particular time horizon (usually one day). -
getVolume
Volume is the number of shares or contracts traded. -
getQuoteVolume
Quote volume. -
getBidSize
The bid size represents the quantity of a security that investors are willing to purchase at a specified bid price. -
getAskSize
The ask size represents the quantity of a security that investors are willing to sell at a specified selling price. -
getTimestamp
Information timestamp. -
setUid
Technical ID. -
setOpen
The opening price is the first trade price that was recorded during the day’s trading. -
setLast
Last trade field is the price set during the last trade. -
setBid
The bid price shown represents the highest bid price. -
setAsk
The ask price shown represents the lowest bid price. -
setHigh
The day’s high price. -
setLow
The day’s low price. -
setVwap
Volume-weighted average price (VWAP) is the ratio of the value traded to total volume traded over a particular time horizon (usually one day). -
setVolume
Volume is the number of shares or contracts traded. -
setQuoteVolume
Quote volume. -
setBidSize
The bid size represents the quantity of a security that investors are willing to purchase at a specified bid price. -
setAskSize
The ask size represents the quantity of a security that investors are willing to sell at a specified selling price. -
setTimestamp
Information timestamp. -
toString
-