Class ImportedTicker
- java.lang.Object
-
- tech.cassandre.trading.bot.domain.ImportedTicker
-
@Entity public class ImportedTicker extends Object
Imported tickers.
-
-
Constructor Summary
Constructors Constructor Description ImportedTicker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
BigDecimal
getAsk()
The ask price shown represents the lowest bid price.BigDecimal
getAskSize()
The ask size represents the quantity of a security that investors are willing to sell at a specified selling price.BigDecimal
getBid()
The bid price shown represents the highest bid price.BigDecimal
getBidSize()
The bid size represents the quantity of a security that investors are willing to purchase at a specified bid price.String
getCurrencyPair()
The currency-pair.CurrencyPairDTO
getCurrencyPairDTO()
Returns currency pair DTO.BigDecimal
getHigh()
The day’s high price.Long
getId()
Technical ID.BigDecimal
getLast()
Last trade field is the price set during the last trade.BigDecimal
getLow()
The day’s low price.BigDecimal
getOpen()
The opening price is the first trade price that was recorded during the day’s trading.BigDecimal
getQuoteVolume()
Quote volume.ZonedDateTime
getTimestamp()
Information timestamp.BigDecimal
getVolume()
Volume is the number of shares or contracts traded.BigDecimal
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).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 currencyPair)
The currency-pair.void
setHigh(BigDecimal high)
The day’s high price.void
setId(Long id)
Technical ID.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
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).String
toString()
-
-
-
Method Detail
-
getCurrencyPairDTO
public CurrencyPairDTO getCurrencyPairDTO()
Returns currency pair DTO.- Returns:
- currency pair DTO
-
getId
public Long getId()
Technical ID.
-
getCurrencyPair
public String getCurrencyPair()
The currency-pair.
-
getOpen
public BigDecimal getOpen()
The opening price is the first trade price that was recorded during the day’s trading.
-
getLast
public BigDecimal getLast()
Last trade field is the price set during the last trade.
-
getBid
public BigDecimal getBid()
The bid price shown represents the highest bid price.
-
getAsk
public BigDecimal getAsk()
The ask price shown represents the lowest bid price.
-
getHigh
public BigDecimal getHigh()
The day’s high price.
-
getLow
public BigDecimal getLow()
The day’s low price.
-
getVwap
public BigDecimal 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
public BigDecimal getVolume()
Volume is the number of shares or contracts traded.
-
getQuoteVolume
public BigDecimal getQuoteVolume()
Quote volume.
-
getBidSize
public BigDecimal getBidSize()
The bid size represents the quantity of a security that investors are willing to purchase at a specified bid price.
-
getAskSize
public BigDecimal getAskSize()
The ask size represents the quantity of a security that investors are willing to sell at a specified selling price.
-
getTimestamp
public ZonedDateTime getTimestamp()
Information timestamp.
-
setId
public void setId(Long id)
Technical ID.
-
setCurrencyPair
public void setCurrencyPair(String currencyPair)
The currency-pair.
-
setOpen
public void setOpen(BigDecimal open)
The opening price is the first trade price that was recorded during the day’s trading.
-
setLast
public void setLast(BigDecimal last)
Last trade field is the price set during the last trade.
-
setBid
public void setBid(BigDecimal bid)
The bid price shown represents the highest bid price.
-
setAsk
public void setAsk(BigDecimal ask)
The ask price shown represents the lowest bid price.
-
setHigh
public void setHigh(BigDecimal high)
The day’s high price.
-
setLow
public void setLow(BigDecimal low)
The day’s low price.
-
setVwap
public 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).
-
setVolume
public void setVolume(BigDecimal volume)
Volume is the number of shares or contracts traded.
-
setQuoteVolume
public void setQuoteVolume(BigDecimal quoteVolume)
Quote volume.
-
setBidSize
public void setBidSize(BigDecimal bidSize)
The bid size represents the quantity of a security that investors are willing to purchase at a specified bid price.
-
setAskSize
public void setAskSize(BigDecimal askSize)
The ask size represents the quantity of a security that investors are willing to sell at a specified selling price.
-
setTimestamp
public void setTimestamp(ZonedDateTime timestamp)
Information timestamp.
-
-