public final class Summary extends MarketEvent implements LastingEvent<String>
Summary
and Summary&X
for regional exchange trading session summaries.Constructor and Description |
---|
Summary()
Creates new summary with default values.
|
Summary(String eventSymbol)
Creates new summary with the specified event symbol.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getEventSymbol, setEventSymbol
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEventSymbol, setEventSymbol
public Summary()
public Summary(String eventSymbol)
eventSymbol
- event symbol.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.Copyright © 2014 Devexperts. All Rights Reserved.