com.activequant.tools.streaming
Class BBOEvent

java.lang.Object
  extended by com.activequant.domainmodel.PersistentEntity
      extended by com.activequant.tools.streaming.StreamEvent
          extended by com.activequant.tools.streaming.TimeStreamEvent
              extended by com.activequant.tools.streaming.MarketDataEvent
                  extended by com.activequant.tools.streaming.BBOEvent

public class BBOEvent
extends MarketDataEvent


Constructor Summary
BBOEvent(String mdiId, String tradeableId, TimeStamp ts, Double bid, Double bidQuantity, Double ask, Double askQuantity)
           
 
Method Summary
 Double getAsk()
           
 Double getAskQuantity()
           
 Double getBid()
           
 Double getBidQuantity()
           
 ETransportType getEventType()
           
 String getTradeableId()
           
 String getTradeableInstrumentId()
           
 void setAsk(Double ask)
           
 void setAskQuantity(Double askQuantity)
           
 void setBid(Double bid)
           
 void setBidQuantity(Double bidQuantity)
           
 void setTradeableId(String tradeableId)
           
 
Methods inherited from class com.activequant.tools.streaming.MarketDataEvent
getId, getMdiId, setMdiId
 
Methods inherited from class com.activequant.tools.streaming.TimeStreamEvent
getTimeStamp
 
Methods inherited from class com.activequant.domainmodel.PersistentEntity
clearMap, convertValueToType, getClassName, getCreationTime, getDeletionTime, getSnapshotTime, initFromMap, nullSafe, propertyMap, setClassName, setCreationTime, setDeletionTime, setSnapshotTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BBOEvent

public BBOEvent(String mdiId,
                String tradeableId,
                TimeStamp ts,
                Double bid,
                Double bidQuantity,
                Double ask,
                Double askQuantity)
Method Detail

getEventType

public ETransportType getEventType()
Overrides:
getEventType in class MarketDataEvent

getTradeableInstrumentId

public String getTradeableInstrumentId()

getBid

public Double getBid()

setBid

public void setBid(Double bid)

getAsk

public Double getAsk()

setAsk

public void setAsk(Double ask)

getBidQuantity

public Double getBidQuantity()

setBidQuantity

public void setBidQuantity(Double bidQuantity)

getAskQuantity

public Double getAskQuantity()

setAskQuantity

public void setAskQuantity(Double askQuantity)

getTradeableId

public String getTradeableId()

setTradeableId

public void setTradeableId(String tradeableId)


Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.