com.dxfeed.event.market
Class Quote

java.lang.Object
  extended by com.dxfeed.event.market.MarketEvent
      extended by com.dxfeed.event.market.Quote
All Implemented Interfaces:
LastingEvent, java.io.Serializable

public final class Quote
extends MarketEvent
implements LastingEvent

Quote event with best bid and ask, and other fields that change with each quote.

Implementation details

This event is implemented on top of QDS records Quote and Quote&X for regional exchange best quotes.

See Also:
Serialized Form

Constructor Summary
Quote()
           
Quote(java.lang.String eventSymbol)
           
 
Method Summary
 char getAskExchangeCode()
           
 double getAskPrice()
           
 long getAskSize()
           
 long getAskTime()
           
 char getBidExchangeCode()
           
 double getBidPrice()
           
 long getBidSize()
           
 long getBidTime()
           
 void setAskExchangeCode(char askExchangeCode)
           
 void setAskPrice(double askPrice)
           
 void setAskSize(long askSize)
           
 void setAskTime(long askTime)
           
 void setBidExchangeCode(char bidExchangeCode)
           
 void setBidPrice(double bidPrice)
           
 void setBidSize(long bidSize)
           
 void setBidTime(long bidTime)
           
 java.lang.String toString()
           
 
Methods inherited from class com.dxfeed.event.market.MarketEvent
getEventSymbol, setEventSymbol
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Quote

public Quote()

Quote

public Quote(java.lang.String eventSymbol)
Method Detail

getBidTime

public long getBidTime()

setBidTime

public void setBidTime(long bidTime)

getBidExchangeCode

public char getBidExchangeCode()

setBidExchangeCode

public void setBidExchangeCode(char bidExchangeCode)

getBidPrice

public double getBidPrice()

setBidPrice

public void setBidPrice(double bidPrice)

getBidSize

public long getBidSize()

setBidSize

public void setBidSize(long bidSize)

getAskTime

public long getAskTime()

setAskTime

public void setAskTime(long askTime)

getAskExchangeCode

public char getAskExchangeCode()

setAskExchangeCode

public void setAskExchangeCode(char askExchangeCode)

getAskPrice

public double getAskPrice()

setAskPrice

public void setAskPrice(double askPrice)

getAskSize

public long getAskSize()

setAskSize

public void setAskSize(long askSize)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object