|
||||||||||
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.Summary
public final class Summary
Summary information snapshot about the trading session including session highs, lows, etc. It represents the most recent information that is available about the trading session in the market at any given moment of time.
Summary
and Summary&X
for regional exchange trading session summaries.
Constructor Summary | |
---|---|
Summary()
Creates new summary with default values. |
|
Summary(String eventSymbol)
Creates new summary with the specified event symbol. |
Method Summary | |
---|---|
double |
getDayClosePrice()
Returns the last (close) price for the day. |
PriceType |
getDayClosePriceType()
Returns the price type of the last (close) price for the day. |
double |
getDayHighPrice()
Returns the maximal (high) price for the day. |
int |
getDayId()
Returns identifier of the day that this summary represents. |
double |
getDayLowPrice()
Returns the minimal (low) price for the day. |
double |
getDayOpenPrice()
Returns the first (open) price for the day. |
int |
getFlags()
Returns implementation-specific flags. |
long |
getOpenInterest()
Returns open interest of the symbol as the number of open contracts. |
double |
getPrevDayClosePrice()
Returns the last (close) price for the previous day. |
PriceType |
getPrevDayClosePriceType()
Returns the price type of the last (close) price for the previous day. |
int |
getPrevDayId()
Returns identifier of the previous day that this summary represents. |
void |
setDayClosePrice(double dayClosePrice)
Changes the last (close) price for the day. |
void |
setDayClosePriceType(PriceType type)
Changes the price type of the last (close) price for the day. |
void |
setDayHighPrice(double dayHighPrice)
Changes the maximal (high) price for the day. |
void |
setDayId(int dayId)
Changes identifier of the day that this summary represents. |
void |
setDayLowPrice(double dayLowPrice)
Changes the minimal (low) price for the day. |
void |
setDayOpenPrice(double dayOpenPrice)
Changes the first (open) price for the day. |
void |
setFlags(int flags)
Changes implementation-specific flags. |
void |
setOpenInterest(long openInterest)
Changes open interest of the symbol as the number of open contracts. |
void |
setPrevDayClosePrice(double prevDayClosePrice)
Changes the last (close) price for the previous day. |
void |
setPrevDayClosePriceType(PriceType type)
Changes the price type of the last (close) price for the previous day. |
void |
setPrevDayId(int prevDayId)
Changes identifier of the previous day that this summary represents. |
String |
toString()
Returns string representation of this summary 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 Summary()
public Summary(String eventSymbol)
eventSymbol
- event symbol.Method Detail |
---|
public int getDayId()
public void setDayId(int dayId)
dayId
- identifier of the day that this summary represents.public double getDayOpenPrice()
public void setDayOpenPrice(double dayOpenPrice)
dayOpenPrice
- the first (open) price for the day.public double getDayHighPrice()
public void setDayHighPrice(double dayHighPrice)
dayHighPrice
- the maximal (high) price for the day.public double getDayLowPrice()
public void setDayLowPrice(double dayLowPrice)
dayLowPrice
- the minimal (low) price for the day.public double getDayClosePrice()
public void setDayClosePrice(double dayClosePrice)
dayClosePrice
- the last (close) price for the day.public PriceType getDayClosePriceType()
public void setDayClosePriceType(PriceType type)
type
- the price type of the last (close) price for the day.public int getPrevDayId()
public void setPrevDayId(int prevDayId)
prevDayId
- identifier of the previous day that this summary represents.public double getPrevDayClosePrice()
public void setPrevDayClosePrice(double prevDayClosePrice)
prevDayClosePrice
- the last (close) price for the previous day.public PriceType getPrevDayClosePriceType()
public void setPrevDayClosePriceType(PriceType type)
type
- the price type of the last (close) price for the previous day.public long getOpenInterest()
public void setOpenInterest(long openInterest)
openInterest
- open interest of the symbol as the number of open contracts.public int getFlags()
public void setFlags(int flags)
flags
- flags.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |