@Deprecated
public interface IFeedInfo
There might be several data types supported by JForex, see DataType
Ticks are defined by
DataType.TICKS (setter - setDataType(DataType)),
IFinancialInstrument (setter - setFinancialInstrument(IFinancialInstrument))
Candles/Bars are defined by
DataType.TIME_PERIOD_AGGREGATION setter - (setDataType(DataType)),
IFinancialInstrument (setter - setFinancialInstrument(IFinancialInstrument))
OfferSide (setter - setOfferSide(OfferSide)),
Filter (setter - setFilter(Filter)),
Period (setter - setPeriod(Period))
RangeBars are defined by
DataType.PRICE_RANGE_AGGREGATION (setter - setDataType(DataType)),
IFinancialInstrument (setter - setFinancialInstrument(IFinancialInstrument))
PriceRange (setter - setPriceRange(PriceRange)),
OfferSide (setter - setOfferSide(OfferSide)),
Period ((base period) setter - setPeriod(Period))
Point and Figures are defined by
DataType.POINT_AND_FIGURE (setter - setDataType(DataType)),
IFinancialInstrument (setter - setFinancialInstrument(IFinancialInstrument))
PriceRange called box size (setter - setPriceRange(PriceRange)),
ReversalAmount (setter - setReversalAmount(ReversalAmount)),
OfferSide (setter - setOfferSide(OfferSide)),
Period ((base period) setter - setPeriod(Period))
Tick Bars are defined by
DataType.TICK_BAR (setter - setDataType(DataType)),
IFinancialInstrument (setter - setFinancialInstrument(IFinancialInstrument))
TickBarSize (setter - setTickBarSize(TickBarSize)),
OfferSide (setter - setOfferSide(OfferSide)),
Period ((base period) setter - setPeriod(Period))
Renkos are defined by
DataType.RENKO (setter - setDataType(DataType)),
IFinancialInstrument (setter - setFinancialInstrument(IFinancialInstrument))
PriceRange called brick size (setter - setPriceRange(PriceRange)),
OfferSide (setter - setOfferSide(OfferSide),
Period ((session length) setter - setTimeSession(Period)),
CreationPoint (setter - setCreationPoint(CreationPoint)),
Period ((base period) setter - setPeriod(Period))
Line Break lines are defined by
DataType.LINE_BREAK (setter - setDataType(DataType)),
IFinancialInstrument (setter - setFinancialInstrument(IFinancialInstrument))
OfferSide (setter - setOfferSide(OfferSide)),
Period ((session length) setter - setTimeSession(Period)),
CreationPoint (setter - setCreationPoint(CreationPoint)),
LineBreakLookback (setter - setLineBreakLookback(LineBreakLookback)),
Period ((base period) setter - setPeriod(Period))
| Modifier and Type | Field and Description |
|---|---|
static Period |
DEFAULT_BASE_PERIOD
Deprecated.
Base period works as a starting point from which to calculate price aggregation bars.
|
static Period |
INFINITE_BASE_PERIOD
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
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
|
static final Period DEFAULT_BASE_PERIOD
static final Period INFINITE_BASE_PERIOD
IFinancialInstrument getFinancialInstrument()
void setFinancialInstrument(IFinancialInstrument financialInstrument)
financialInstrument - instrumentOfferSide getOfferSide()
void setOfferSide(OfferSide offerSide)
offerSide - offer sideDataType getDataType()
void setDataType(DataType dataType)
dataType - data typePeriod getPeriod()
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 - DEFAULT_BASE_PERIOD).
Only two base periods are possible - Period.INFINITY and one week (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 (DEFAULT_BASE_PERIOD).period - periodPriceRange getPriceRange()
void setPriceRange(PriceRange priceRange)
priceRange - price rangeReversalAmount getReversalAmount()
void setReversalAmount(ReversalAmount reversalAmount)
reversalAmount - reversal amountTickBarSize getTickBarSize()
void setTickBarSize(TickBarSize tickBarSize)
tickBarSize - tick bar sizeFilter getFilter()
void setFilter(Filter filter)
filter - filtervoid setTimeSession(Period timeSession)
timeSession - session periodPeriod getTimeSession()
void setCreationPoint(CreationPoint creationPoint)
creationPoint - CreationPointCreationPoint getCreationPoint()
void setDataInterpolationDescriptor(DataInterpolationDescriptor interpolationDescriptor)
interpolationDescriptor - DataInterpolationDescriptorDataInterpolationDescriptor getDataInterpolationDescriptor()
void setLineBreakLookback(LineBreakLookback numOfLines)
numOfLines - LineBreakLookbackLineBreakLookback getLineBreakLookback()
Copyright © 2025. All rights reserved.