Package | Description |
---|---|
com.dukascopy.api | |
com.dukascopy.api.feed | |
com.dukascopy.api.feed.util |
Modifier and Type | Field and Description |
---|---|
static ReversalAmount |
ReversalAmount.FIVE |
static ReversalAmount |
ReversalAmount.FOUR |
static ReversalAmount |
ReversalAmount.ONE |
static ReversalAmount |
ReversalAmount.THREE |
static ReversalAmount |
ReversalAmount.TWO |
Modifier and Type | Method and Description |
---|---|
ReversalAmount |
IChart.getReversalAmount()
The method returns currently selected Reversal Amount on the Point And Figure chart
For non P&F charts null will be returned
|
static ReversalAmount |
ReversalAmount.valueOf(int amount)
The method returns appropriate Reversal Amount for the passed amount
|
static ReversalAmount |
ReversalAmount.valueOf(String str)
The method returns appropriate ReversalAmount for the passed String
|
Modifier and Type | Method and Description |
---|---|
static List<ReversalAmount> |
ReversalAmount.createJForexPriceRanges()
Method creates and returns all available to JForex Reversal Amounts
|
Modifier and Type | Method and Description |
---|---|
int |
ReversalAmount.compareTo(ReversalAmount reversalAmount)
The method compares passed ReversalAmount with the current one
if (ReversalAmount == null) or (ReversalAmount.getAmount() < this.getAmount()) Returns 1
if ReversalAmount.getAmount() > this.getAmount() Returns -1
Otherwise Returns 0
|
IPointAndFigure |
IHistory.getPointAndFigure(Instrument instrument,
OfferSide offerSide,
PriceRange boxSize,
ReversalAmount reversalAmount,
int shift)
Deprecated.
|
List<IPointAndFigure> |
IHistory.getPointAndFigures(Instrument instrument,
OfferSide offerSide,
PriceRange boxSize,
ReversalAmount reversalAmount,
int numberOfBarsBefore,
long time,
int numberOfBarsAfter)
Deprecated.
|
List<IPointAndFigure> |
IHistory.getPointAndFigures(Instrument instrument,
OfferSide offerSide,
PriceRange boxSize,
ReversalAmount reversalAmount,
long from,
long to)
Deprecated.
|
long |
IDataService.getTimeOfFirstPointAndFigure(Instrument instrument,
PriceRange priceRange,
ReversalAmount reversalAmount)
|
long |
IDataService.getTimeOfFirstPointAndFigure(Instrument instrument,
PriceRange priceRange,
ReversalAmount reversalAmount,
DataInterpolationDescriptor dataInterpolationDescriptor)
Returns the time of first
point & figures for specified Instrument , PriceRange , ReversalAmount and DataInterpolationDescriptor |
void |
IHistory.readPointAndFigures(Instrument instrument,
OfferSide offerSide,
PriceRange boxSize,
ReversalAmount reversalAmount,
int numberOfBarsBefore,
long time,
int numberOfBarsAfter,
IPointAndFigureFeedListener listener,
LoadingProgressListener loadingProgress)
|
void |
IHistory.readPointAndFigures(Instrument instrument,
OfferSide offerSide,
PriceRange boxSize,
ReversalAmount reversalAmount,
long from,
long to,
IPointAndFigureFeedListener listener,
LoadingProgressListener loadingProgress)
|
void |
IContext.subscribeToPointAndFigureFeed(Instrument instrument,
OfferSide offerSide,
PriceRange priceRange,
ReversalAmount reversalAmount,
IPointAndFigureFeedListener listener)
|
Modifier and Type | Method and Description |
---|---|
ReversalAmount |
IFeedDescriptor.getReversalAmount()
Getter for reversal amount
|
ReversalAmount |
FeedDescriptor.getReversalAmount()
Getter for reversal amount
|
ReversalAmount |
IFeedInfo.getReversalAmount()
Getter for reversal amount
|
Modifier and Type | Method and Description |
---|---|
IFeedInfo |
IFeedInfoProvider.createFeed(DataType dataType,
IFinancialInstrument financialInstrument,
Period period,
OfferSide offerSide,
PriceRange priceRange,
ReversalAmount reversalAmount,
TickBarSize tickBarSize,
Filter filter) |
IFeedInfo |
IFeedInfoProvider.createPointAndFigureFeedInfo(IFinancialInstrument financialInstrument,
PriceRange boxSize,
ReversalAmount reversalAmount,
OfferSide offerSide)
Create Point and Figure feed info, default values are taken from:
base period,
IFeedInfo.DEFAULT_BASE_PERIOD . |
IFeedInfo |
IFeedInfoProvider.createPointAndFigureFeedInfo(IFinancialInstrument financialInstrument,
PriceRange boxSize,
ReversalAmount reversalAmount,
OfferSide offerSide,
Period basePeriod)
Create Point and Figure feed info, default values are taken from:
base period,
IFeedInfo.DEFAULT_BASE_PERIOD . |
IFeedInfo |
IFeedInfoProvider.createPointAndFigureFeedInfo(IFinancialInstrument financialInstrument,
PriceRange boxSize,
ReversalAmount reversalAmount,
OfferSide offerSide,
Period basePeriod,
DataInterpolationDescriptor interpolationDescriptor)
Create Point and Figure feed info, default values are taken from:
base period,
IFeedInfo.DEFAULT_BASE_PERIOD . |
Period |
DataInterpolationDescriptor.getInterpolateFromPeriod(PriceRange priceRange,
ReversalAmount reversalAmount)
Returns the candle period from which the ticks are interpolated.
|
static DataInterpolationDescriptor |
DataInterpolationDescriptor.getSuitableDataInterpolationDescriptor(PriceRange priceRange,
ReversalAmount reversalAmount)
Returns suitable DataInterpolationDescriptor according to the given PriceRange and ReversalAmount.
|
void |
IPointAndFigureFeedListener.onBar(Instrument instrument,
OfferSide offerSide,
PriceRange priceRange,
ReversalAmount reversalAmount,
IPointAndFigure bar)
Deprecated.
The method is being called when next Point and Figure arrives
|
void |
IFeedDescriptor.setReversalAmount(ReversalAmount reversalAmount)
Setter for reversal amount
|
void |
FeedDescriptor.setReversalAmount(ReversalAmount reversalAmount)
Setter for reversal amount
|
void |
IFeedInfo.setReversalAmount(ReversalAmount reversalAmount)
Setter for reversal amount
|
Constructor and Description |
---|
FeedDescriptor(DataType dataType,
Instrument instrument,
Period period,
OfferSide offerSide,
PriceRange priceRange,
ReversalAmount reversalAmount,
TickBarSize tickBarSize,
Filter filter) |
Constructor and Description |
---|
PointAndFigureFeedDescriptor(Instrument instrument,
PriceRange boxSize,
ReversalAmount reversalAmount,
OfferSide offerSide)
"Fast" constructor, which has minimal set of parameters for
FeedDescriptor creation
Base period is set to default (one week). |
PointAndFigureFeedDescriptor(Instrument instrument,
PriceRange boxSize,
ReversalAmount reversalAmount,
OfferSide offerSide,
Period basePeriod)
"Fast" constructor, which has minimal set of parameters for
FeedDescriptor creation. |
PointAndFigureFeedDescriptor(Instrument instrument,
PriceRange boxSize,
ReversalAmount reversalAmount,
OfferSide offerSide,
Period basePeriod,
DataInterpolationDescriptor interpolationDescriptor)
Constructor, that sets all required fields.
|
Copyright © 2016. All rights reserved.