|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dxfeed.event.market.MarketEvent
com.dxfeed.event.market.Quote
public final class Quote
Quote event is a snapshot of the best bid and ask prices, and other fields that change with each quote. It represents the most recent information that is available about the best quote on the market at any given moment of time.
Quote
and Quote&X
for regional exchange best quotes.
Constructor Summary | |
---|---|
Quote()
Creates new quote with default values. |
|
Quote(String eventSymbol)
Creates new quote with the specified event symbol. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.dxfeed.event.market.MarketEvent |
---|
getEventSymbol, setEventSymbol |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Quote()
public Quote(String eventSymbol)
eventSymbol
- event symbol.Method Detail |
---|
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.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |