public class TickBarFeedDescriptor extends FeedDescriptor implements ITailoredFeedDescriptor<ITickBar>
FeedDescriptorDEFAULT_BASE_PERIOD, INFINITE_BASE_PERIOD| Constructor and Description |
|---|
TickBarFeedDescriptor(Instrument instrument,
TickBarSize tickBarSize,
OfferSide offerSide)
"Fast" constructor, which has minimal set of parameters for
FeedDescriptor creation. |
TickBarFeedDescriptor(Instrument instrument,
TickBarSize tickBarSize,
OfferSide offerSide,
Period basePeriod)
"Fast" constructor, which has minimal set of parameters for
FeedDescriptor creation. |
| Modifier and Type | Method and Description |
|---|---|
void |
setDataInterpolationDescriptor(DataInterpolationDescriptor interpolationDescriptor)
Setter for DataType.PRICE_RANGE_AGGREGATION DataInterpolationDescriptor.
|
void |
setPeriod(Period period)
Setter for period.
|
equals, getCalculationMethod, getCreationPoint, getDataInterpolationDescriptor, getDataType, getFilter, getInstrument, getLineBreakLookback, getOfferSide, getPeriod, getPriceRange, getRenkoCreationPoint, getRenkoSession, getRenkoType, getReversalAmount, getTickBarSize, getTimeSession, hashCode, setCalculationMethod, setCreationPoint, setDataType, setFilter, setInstrument, setLineBreakLookback, setOfferSide, setPriceRange, setRenkoCreationPoint, setRenkoSession, setRenkoType, setReversalAmount, setTickBarSize, setTimeSession, toString, validateBasePeriod, validateCalculationMethod, validateCreationPoint, validateLineBreakLookback, validatePriceRange, validateRenkoCreationPoint, validateRenkoSession, validateRenkoType, validateTimeSession, validateTurnaroundAmount, valueOfclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCalculationMethod, getCreationPoint, getDataInterpolationDescriptor, getDataType, getFilter, getInstrument, getLineBreakLookback, getOfferSide, getPeriod, getPriceRange, getRenkoCreationPoint, getRenkoSession, getRenkoType, getReversalAmount, getTickBarSize, getTimeSession, setCalculationMethod, setCreationPoint, setDataType, setFilter, setInstrument, setLineBreakLookback, setOfferSide, setPriceRange, setRenkoCreationPoint, setRenkoSession, setRenkoType, setReversalAmount, setTickBarSize, setTimeSessionpublic TickBarFeedDescriptor(Instrument instrument, TickBarSize tickBarSize, OfferSide offerSide)
FeedDescriptor creation.
Base period is set to default (one week).instrument - instrumenttickBarSize - tick bar sizeofferSide - offer sidepublic TickBarFeedDescriptor(Instrument instrument, TickBarSize tickBarSize, OfferSide offerSide, Period basePeriod)
FeedDescriptor creation.
The period represents the base period.instrument - instrumenttickBarSize - tick bar sizeofferSide - offer sidebasePeriod - the period, in which the tick bars are calculated. If base period is given Period.INFINITY, then tick bars are calculated from the beginning of the history.
Everything else at data loading time is considered as a default value (one week), including null.public void setPeriod(Period period)
FeedDescriptorDataType.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 - IFeedDescriptor.DEFAULT_BASE_PERIOD).
Only two base periods are possible - Period.INFINITY and one week (IFeedDescriptor.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 (IFeedDescriptor.DEFAULT_BASE_PERIOD).
Period.INFINITY is not allowed on remote run.setPeriod in interface IFeedDescriptorsetPeriod in class FeedDescriptorperiod - periodpublic void setDataInterpolationDescriptor(DataInterpolationDescriptor interpolationDescriptor)
FeedDescriptorsetDataInterpolationDescriptor in interface IFeedDescriptorsetDataInterpolationDescriptor in class FeedDescriptorinterpolationDescriptor - DataInterpolationDescriptorCopyright © 2025. All rights reserved.