public class DailyCandle extends Candle
Candle
.
DailyCandle
event has the following properties in addition to Candle
openInterest
- open interest;
impVolatility
- implied volatility.
MAX_SEQUENCE
REMOVE_EVENT, SNAPSHOT_BEGIN, SNAPSHOT_END, SNAPSHOT_MODE, SNAPSHOT_SNIP, TX_PENDING
Constructor and Description |
---|
DailyCandle()
Creates new daily candle with default values.
|
DailyCandle(CandleSymbol eventSymbol)
Creates new daily candle with the specified candle event symbol.
|
Modifier and Type | Method and Description |
---|---|
double |
getImpVolatility()
Returns implied volatility.
|
long |
getOpenInterest()
Returns open interest.
|
void |
setImpVolatility(double impVolatility)
Changes implied volatility.
|
void |
setOpenInterest(long openInterest)
Changes open interest.
|
String |
toString()
Returns string representation of this daily candle.
|
getAskVolume, getBidVolume, getClose, getCount, getEventFlags, getEventSymbol, getEventTime, getHigh, getIndex, getLow, getOpen, getSequence, getSource, getTime, getVolume, getVWAP, setAskVolume, setBidVolume, setClose, setCount, setEventFlags, setEventId, setEventSymbol, setEventTime, setHigh, setIndex, setLow, setOpen, setSequence, setTime, setVolume, setVWAP
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEventId
public DailyCandle()
public DailyCandle(CandleSymbol eventSymbol)
eventSymbol
- candle event symbol.public long getOpenInterest()
public void setOpenInterest(long openInterest)
openInterest
- open interest.public double getImpVolatility()
public void setImpVolatility(double impVolatility)
impVolatility
- implied volatility.Copyright © 2017 Devexperts. All Rights Reserved.