@Deprecated public class FeedInfo extends java.lang.Object implements IFeedInfo
IFeedInfoDEFAULT_BASE_PERIOD, INFINITE_BASE_PERIOD| Constructor and Description |
|---|
FeedInfo()
Deprecated.
Default constructor
|
FeedInfo(DataType dataType,
IFinancialInstrument financialInstrument,
Period period,
OfferSide offerSide,
PriceRange priceRange,
ReversalAmount reversalAmount,
TickBarSize tickBarSize,
Filter filter)
Deprecated.
|
FeedInfo(IFeedInfo feedInfo)
Deprecated.
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
CreationPoint |
getCreationPoint()
Deprecated.
Getter for DataType.LINE_BREAK, DataType.RENKO data creation point
|
DataInterpolationDescriptor |
getDataInterpolationDescriptor()
Deprecated.
Getter for DataType.POINT_AND_FIGURE and DataType.PRICE_RANGE_AGGREGATION DataInterpolationDescriptor.
|
DataType |
getDataType()
Deprecated.
Getter for data type
|
Filter |
getFilter()
Deprecated.
Getter for filter
|
IFinancialInstrument |
getFinancialInstrument()
Deprecated.
Getter for financial instrument
|
LineBreakLookback |
getLineBreakLookback()
Deprecated.
Getter for DataType.LINE_BREAK number of look-back lines.
|
OfferSide |
getOfferSide()
Deprecated.
Getter for offer side
|
Period |
getPeriod()
Deprecated.
Getter for period
|
PriceRange |
getPriceRange()
Deprecated.
Getter for price range
|
ReversalAmount |
getReversalAmount()
Deprecated.
Getter for reversal amount
|
TickBarSize |
getTickBarSize()
Deprecated.
Getter for tick bar size
|
Period |
getTimeSession()
Deprecated.
Getter for DataType.LINE_BREAK, DataType.RENKO session period
|
int |
hashCode()
Deprecated.
|
void |
setCreationPoint(CreationPoint creationPoint)
Deprecated.
Setter for DataType.LINE_BREAK, DataType.RENKO data creation point
|
void |
setDataInterpolationDescriptor(DataInterpolationDescriptor interpolationDescriptor)
Deprecated.
Setter for DataType.POINT_AND_FIGURE and DataType.PRICE_RANGE_AGGREGATION DataInterpolationDescriptor.
|
void |
setDataType(DataType dataType)
Deprecated.
Setter for data type.
|
void |
setFilter(Filter filter)
Deprecated.
Setter for filter
|
void |
setFinancialInstrument(IFinancialInstrument financialInstrument)
Deprecated.
Setter for financial instrument
|
void |
setLineBreakLookback(LineBreakLookback numOfLines)
Deprecated.
Setter for DataType.LINE_BREAK number of look-back lines.
|
void |
setOfferSide(OfferSide offerSide)
Deprecated.
Setter for offer side
|
void |
setPeriod(Period period)
Deprecated.
Setter for period.
|
void |
setPriceRange(PriceRange priceRange)
Deprecated.
Setter for price range
|
void |
setReversalAmount(ReversalAmount reversalAmount)
Deprecated.
Setter for reversal amount
|
void |
setTickBarSize(TickBarSize tickBarSize)
Deprecated.
Setter for tick bar size
|
void |
setTimeSession(Period timeSession)
Deprecated.
Setter for DataType.LINE_BREAK, DataType.RENKO session period
|
java.lang.String |
toString()
Deprecated.
|
static Period |
validateBasePeriod(Period basePeriod)
Deprecated.
|
protected static CreationPoint |
validateCreationPoint(CreationPoint creationPoint)
Deprecated.
|
protected static LineBreakLookback |
validateLineBreakLookback(LineBreakLookback lookbackLines)
Deprecated.
|
protected static PriceRange |
validatePriceRange(PriceRange reversalAmount)
Deprecated.
|
protected static RenkoCreationPoint |
validateRenkoCreationPoint(RenkoCreationPoint creationPoint)
Deprecated.
|
protected static Period |
validateRenkoSession(Period renkoSession)
Deprecated.
|
protected static Period |
validateTimeSession(Period timeSession)
Deprecated.
|
protected static PriceRange |
validateTurnaroundAmount(PriceRange reversalAmount)
Deprecated.
|
public FeedInfo()
public FeedInfo(DataType dataType, IFinancialInstrument financialInstrument, Period period, OfferSide offerSide, PriceRange priceRange, ReversalAmount reversalAmount, TickBarSize tickBarSize, Filter filter)
public FeedInfo(IFeedInfo feedInfo)
feedInfo - IFeedInfopublic IFinancialInstrument getFinancialInstrument()
getFinancialInstrument in interface IFeedInfopublic void setFinancialInstrument(IFinancialInstrument financialInstrument)
setFinancialInstrument in interface IFeedInfofinancialInstrument - instrumentpublic OfferSide getOfferSide()
getOfferSide in interface IFeedInfopublic void setOfferSide(OfferSide offerSide)
setOfferSide in interface IFeedInfoofferSide - offer sidepublic DataType getDataType()
getDataType in interface IFeedInfopublic void setDataType(DataType dataType)
setDataType in interface IFeedInfodataType - data typepublic Period getPeriod()
public void setPeriod(Period period)
DataType.TICK_BAR, DataType.PRICE_RANGE_AGGREGATION, DataType.RENKO, DataType.POINT_AND_FIGURE, DataType.LINE_BREAK, DataType.KAGI)
period works as a base period (more information about base period - IFeedInfo.DEFAULT_BASE_PERIOD).
Only two base periods are possible - Period.INFINITY and one week (IFeedInfo.DEFAULT_BASE_PERIOD). If one provides anything else (including null) than Period.INFINITY, then at data
loading time it is considered to be as a default base period (IFeedInfo.DEFAULT_BASE_PERIOD).public PriceRange getPriceRange()
getPriceRange in interface IFeedInfopublic void setPriceRange(PriceRange priceRange)
setPriceRange in interface IFeedInfopriceRange - price rangepublic ReversalAmount getReversalAmount()
getReversalAmount in interface IFeedInfopublic void setReversalAmount(ReversalAmount reversalAmount)
setReversalAmount in interface IFeedInforeversalAmount - reversal amountpublic TickBarSize getTickBarSize()
getTickBarSize in interface IFeedInfopublic void setTickBarSize(TickBarSize tickBarSize)
setTickBarSize in interface IFeedInfotickBarSize - tick bar sizepublic Filter getFilter()
public void setFilter(Filter filter)
public void setTimeSession(Period timeSession)
IFeedInfosetTimeSession in interface IFeedInfotimeSession - session periodpublic Period getTimeSession()
getTimeSession in interface IFeedInfopublic void setCreationPoint(CreationPoint creationPoint)
setCreationPoint in interface IFeedInfocreationPoint - CreationPointpublic CreationPoint getCreationPoint()
getCreationPoint in interface IFeedInfopublic void setLineBreakLookback(LineBreakLookback numOfLines)
setLineBreakLookback in interface IFeedInfonumOfLines - LineBreakLookbackpublic LineBreakLookback getLineBreakLookback()
getLineBreakLookback in interface IFeedInfopublic void setDataInterpolationDescriptor(DataInterpolationDescriptor interpolationDescriptor)
setDataInterpolationDescriptor in interface IFeedInfointerpolationDescriptor - DataInterpolationDescriptorpublic DataInterpolationDescriptor getDataInterpolationDescriptor()
getDataInterpolationDescriptor in interface IFeedInfopublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectprotected static RenkoCreationPoint validateRenkoCreationPoint(RenkoCreationPoint creationPoint)
protected static CreationPoint validateCreationPoint(CreationPoint creationPoint)
protected static LineBreakLookback validateLineBreakLookback(LineBreakLookback lookbackLines)
protected static PriceRange validatePriceRange(PriceRange reversalAmount)
protected static PriceRange validateTurnaroundAmount(PriceRange reversalAmount)
Copyright © 2025. All rights reserved.