public final class Quote extends MarketEvent implements LastingEvent<String>
Quote
and Quote&X
for regional exchange best quotes.Constructor and Description |
---|
Quote()
Creates new quote with default values.
|
Quote(String eventSymbol)
Creates new quote with the specified event symbol.
|
Modifier and Type | Method and Description |
---|---|
char |
getAskExchangeCode()
Returns ask exchange code.
|
double |
getAskPrice()
Returns ask price.
|
long |
getAskSize()
Returns ask size.
|
long |
getAskTime()
Returns time of the last ask change.
|
char |
getBidExchangeCode()
Returns bid exchange code.
|
double |
getBidPrice()
Returns bid price.
|
long |
getBidSize()
Returns bid size.
|
long |
getBidTime()
Returns time of the last bid change.
|
void |
setAskExchangeCode(char askExchangeCode)
Changes ask exchange code.
|
void |
setAskPrice(double askPrice)
Changes ask price.
|
void |
setAskSize(long askSize)
Changes ask size.
|
void |
setAskTime(long askTime)
Changes time of the last ask change.
|
void |
setBidExchangeCode(char bidExchangeCode)
Changes bid exchange code.
|
void |
setBidPrice(double bidPrice)
Changes bid price.
|
void |
setBidSize(long bidSize)
Changes bid size.
|
void |
setBidTime(long bidTime)
Changes time of the last bid change.
|
String |
toString()
Returns string representation of this quote event.
|
getEventSymbol, setEventSymbol
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEventSymbol, setEventSymbol
public Quote()
public Quote(String eventSymbol)
eventSymbol
- event symbol.public long getBidTime()
public void setBidTime(long bidTime)
bidTime
- time of the last bid change.public char getBidExchangeCode()
public void setBidExchangeCode(char bidExchangeCode)
bidExchangeCode
- bid exchange code.public double getBidPrice()
public void setBidPrice(double bidPrice)
bidPrice
- bid price.public long getBidSize()
public void setBidSize(long bidSize)
bidSize
- bid size.public long getAskTime()
public void setAskTime(long askTime)
askTime
- time of the last ask change.public char getAskExchangeCode()
public void setAskExchangeCode(char askExchangeCode)
askExchangeCode
- ask exchange code.public double getAskPrice()
public void setAskPrice(double askPrice)
askPrice
- ask price.public long getAskSize()
public void setAskSize(long askSize)
askSize
- ask size.Copyright © 2014 Devexperts. All Rights Reserved.