PriceLevelService.getOrders(CandleSymbol, int, long, long, String)
to retrieve Order
events instead.@Deprecated public class PriceLevelCandle extends Object implements com.dxfeed.event.TimeSeriesEvent<com.dxfeed.event.candle.CandleSymbol>
Modifier and Type | Field and Description |
---|---|
static int |
MAX_SEQUENCE
Deprecated.
|
static int |
TYPE_MASK
Deprecated.
|
static int |
TYPE_SHIFT
Deprecated.
|
Constructor and Description |
---|
PriceLevelCandle()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getAskCount()
Deprecated.
|
int |
getAskSize()
Deprecated.
|
int |
getBidCount()
Deprecated.
|
int |
getBidSize()
Deprecated.
|
long |
getCount()
Deprecated.
|
int |
getEventFlags()
Deprecated.
|
com.dxfeed.event.candle.CandleSymbol |
getEventSymbol()
Deprecated.
|
int |
getFlags()
Deprecated.
|
long |
getIndex()
Deprecated.
|
String |
getMarketMaker()
Deprecated.
|
long |
getOrderSourceAndIndex()
Deprecated.
|
double |
getPrice()
Deprecated.
|
com.dxfeed.event.market.Scope |
getScope()
Deprecated.
|
int |
getSequence()
Deprecated.
Returns sequence number of this order to distinguish orders that have the same
time . |
com.dxfeed.event.market.Side |
getSide()
Deprecated.
|
long |
getSize()
Deprecated.
|
com.dxfeed.event.market.OrderSource |
getSource()
Deprecated.
|
long |
getTime()
Deprecated.
|
int |
getTimeNanoPart()
Deprecated.
|
long |
getTimeSequence()
Deprecated.
|
PriceLevelCandleType |
getType()
Deprecated.
|
void |
setAskCount(int askCount)
Deprecated.
|
void |
setAskSize(int askSize)
Deprecated.
|
void |
setBidCount(int bidCount)
Deprecated.
|
void |
setBidSize(int bidSize)
Deprecated.
|
void |
setCount(long count)
Deprecated.
|
void |
setEventFlags(int eventFlags)
Deprecated.
|
void |
setEventSymbol(com.dxfeed.event.candle.CandleSymbol eventSymbol)
Deprecated.
|
void |
setFlags(int flags)
Deprecated.
|
void |
setIndex(long index)
Deprecated.
|
void |
setMarketMaker(String marketMaker)
Deprecated.
|
void |
setOrderSourceAndIndex(long orderSourceAndIndex)
Deprecated.
|
void |
setPrice(double price)
Deprecated.
|
void |
setSequence(int sequence)
Deprecated.
Changes
getSequence() sequence number} of this order. |
void |
setSize(long size)
Deprecated.
|
void |
setTime(long time)
Deprecated.
|
void |
setTimeNanoPart(int timeNanoPart)
Deprecated.
|
void |
setTimeSequence(long timeSequence)
Deprecated.
|
String |
toString()
Deprecated.
|
public static final int MAX_SEQUENCE
public static final int TYPE_MASK
public static final int TYPE_SHIFT
public int getTimeNanoPart()
public void setTimeNanoPart(int timeNanoPart)
public long getTimeSequence()
public void setTimeSequence(long timeSequence)
public com.dxfeed.event.market.OrderSource getSource()
getSource
in interface com.dxfeed.event.IndexedEvent<com.dxfeed.event.candle.CandleSymbol>
getSource
in interface com.dxfeed.event.TimeSeriesEvent<com.dxfeed.event.candle.CandleSymbol>
public long getOrderSourceAndIndex()
public void setOrderSourceAndIndex(long orderSourceAndIndex)
public int getEventFlags()
getEventFlags
in interface com.dxfeed.event.IndexedEvent<com.dxfeed.event.candle.CandleSymbol>
public void setEventFlags(int eventFlags)
setEventFlags
in interface com.dxfeed.event.IndexedEvent<com.dxfeed.event.candle.CandleSymbol>
public long getIndex()
getIndex
in interface com.dxfeed.event.IndexedEvent<com.dxfeed.event.candle.CandleSymbol>
getIndex
in interface com.dxfeed.event.TimeSeriesEvent<com.dxfeed.event.candle.CandleSymbol>
public void setIndex(long index)
setIndex
in interface com.dxfeed.event.IndexedEvent<com.dxfeed.event.candle.CandleSymbol>
public long getTime()
getTime
in interface com.dxfeed.event.TimeSeriesEvent<com.dxfeed.event.candle.CandleSymbol>
public void setTime(long time)
public int getSequence()
time
. This sequence number does not have to be unique and
does not need to be sequential. Sequence can range from 0 to MAX_SEQUENCE
.public void setSequence(int sequence)
getSequence()
sequence number} of this order.sequence
- the sequence.IllegalArgumentException
- if sequence is below zero or above MAX_SEQUENCE
.getSequence()
public long getSize()
public void setSize(long size)
public long getCount()
public void setCount(long count)
public int getFlags()
public void setFlags(int flags)
public String getMarketMaker()
public void setMarketMaker(String marketMaker)
public double getPrice()
public void setPrice(double price)
public int getBidSize()
public void setBidSize(int bidSize)
public int getBidCount()
public void setBidCount(int bidCount)
public int getAskSize()
public void setAskSize(int askSize)
public int getAskCount()
public void setAskCount(int askCount)
public com.dxfeed.event.market.Side getSide()
public PriceLevelCandleType getType()
public com.dxfeed.event.candle.CandleSymbol getEventSymbol()
getEventSymbol
in interface com.dxfeed.event.EventType<com.dxfeed.event.candle.CandleSymbol>
public void setEventSymbol(com.dxfeed.event.candle.CandleSymbol eventSymbol)
setEventSymbol
in interface com.dxfeed.event.EventType<com.dxfeed.event.candle.CandleSymbol>
public com.dxfeed.event.market.Scope getScope()
Copyright © 2022 Devexperts. All rights reserved.