Package | Description |
---|---|
com.dukascopy.api | |
com.dukascopy.api.feed | |
com.dukascopy.api.feed.util |
Modifier and Type | Field and Description |
---|---|
static PriceRange |
PriceRange.FIVE_PIPS |
static PriceRange |
PriceRange.FOUR_PIPS |
static PriceRange |
PriceRange.ONE_PIP |
static PriceRange |
PriceRange.SIX_PIPS |
static PriceRange |
PriceRange.THREE_PIPS |
static PriceRange |
PriceRange.TWO_PIPS |
Modifier and Type | Method and Description |
---|---|
PriceRange |
IChart.getPriceRange()
The method returns currently selected Price Range on chart
|
static PriceRange |
PriceRange.valueOf(int pipCount)
The method returns appropriate PriceRange for the passed pip count
|
static PriceRange |
PriceRange.valueOf(String str)
The method returns appropriate PriceRange for the passed String
|
Modifier and Type | Method and Description |
---|---|
static List<PriceRange> |
PriceRange.createJForexPriceRanges()
Method creates and returns all available to JForex Price Ranges.
|
Modifier and Type | Method and Description |
---|---|
int |
PriceRange.compareTo(PriceRange priceRange)
The method compares passed PriceRange with the current one
if (PriceRange == null) or (PriceRange.getPipCount() < this.getPipCount()) Returns 1
if PriceRange.getPipCount() > this.getPipCount() 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.
|
IRangeBar |
IHistory.getRangeBar(Instrument instrument,
OfferSide offerSide,
PriceRange priceRange,
int shift)
Deprecated.
|
List<IRangeBar> |
IHistory.getRangeBars(Instrument instrument,
OfferSide offerSide,
PriceRange priceRange,
int numberOfBarsBefore,
long time,
int numberOfBarsAfter)
Deprecated.
|
List<IRangeBar> |
IHistory.getRangeBars(Instrument instrument,
OfferSide offerSide,
PriceRange priceRange,
long from,
long to)
Deprecated.
|
IRenkoBar |
IHistory.getRenkoBar(Instrument instrument,
OfferSide offerSide,
PriceRange brickSize,
int shift)
Deprecated.
|
List<IRenkoBar> |
IHistory.getRenkoBars(Instrument instrument,
OfferSide offerSide,
PriceRange brickSize,
int numberOfBarsBefore,
long time,
int numberOfBarsAfter)
Deprecated.
|
List<IRenkoBar> |
IHistory.getRenkoBars(Instrument instrument,
OfferSide offerSide,
PriceRange brickSize,
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 |
long |
IDataService.getTimeOfFirstRangeBar(Instrument instrument,
PriceRange priceRange)
|
long |
IDataService.getTimeOfFirstRangeBar(Instrument instrument,
PriceRange priceRange,
DataInterpolationDescriptor dataInterpolationDescriptor)
Returns the time of first
price range bars for specified Instrument , PriceRange and DataInterpolationDescriptor |
long |
IDataService.getTimeOfFirstRenko(Instrument instrument,
PriceRange priceRange)
Deprecated.
|
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 |
IHistory.readRangeBars(Instrument instrument,
OfferSide offerSide,
PriceRange priceRange,
int numberOfBarsBefore,
long time,
int numberOfBarsAfter,
IRangeBarFeedListener listener,
LoadingProgressListener loadingProgress)
|
void |
IHistory.readRangeBars(Instrument instrument,
OfferSide offerSide,
PriceRange priceRange,
long from,
long to,
IRangeBarFeedListener listener,
LoadingProgressListener loadingProgress)
|
void |
IHistory.readRenkoBars(Instrument instrument,
OfferSide offerSide,
PriceRange brickSize,
int numberOfBarsBefore,
long time,
int numberOfBarsAfter,
IRenkoBarFeedListener listener,
LoadingProgressListener loadingProgress)
|
void |
IHistory.readRenkoBars(Instrument instrument,
OfferSide offerSide,
PriceRange brickSize,
long from,
long to,
IRenkoBarFeedListener listener,
LoadingProgressListener loadingProgress)
|
void |
IContext.subscribeToPointAndFigureFeed(Instrument instrument,
OfferSide offerSide,
PriceRange priceRange,
ReversalAmount reversalAmount,
IPointAndFigureFeedListener listener)
|
void |
IContext.subscribeToRangeBarFeed(Instrument instrument,
OfferSide offerSide,
PriceRange priceRange,
IRangeBarFeedListener listener)
|
void |
IContext.subscribeToRenkoBarFeed(Instrument instrument,
OfferSide offerSide,
PriceRange brickSize,
IRenkoBarFeedListener listener)
|
Modifier and Type | Method and Description |
---|---|
PriceRange |
IFeedDescriptor.getPriceRange()
Getter for price range
|
PriceRange |
FeedDescriptor.getPriceRange()
Getter for price range
|
PriceRange |
IFeedInfo.getPriceRange()
Getter for price range
|
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 . |
IFeedInfo |
IFeedInfoProvider.createRangeBarFeedInfo(IFinancialInstrument financialInstrument,
PriceRange priceRange,
OfferSide offerSide)
Create Range bar feed info, default values are taken from:
base period,
IFeedInfo.DEFAULT_BASE_PERIOD . |
IFeedInfo |
IFeedInfoProvider.createRangeBarFeedInfo(IFinancialInstrument financialInstrument,
PriceRange priceRange,
OfferSide offerSide,
Period basePeriod)
Create Range bar feed info, default values are taken from:
base period,
IFeedInfo.DEFAULT_BASE_PERIOD . |
IFeedInfo |
IFeedInfoProvider.createRangeBarFeedInfo(IFinancialInstrument financialInstrument,
PriceRange priceRange,
OfferSide offerSide,
Period basePeriod,
DataInterpolationDescriptor interpolationDescriptor)
Create Range bar feed info, default values are taken from:
base period,
IFeedInfo.DEFAULT_BASE_PERIOD . |
IFeedInfo |
IFeedInfoProvider.createRenkoFeedInfo(IFinancialInstrument financialInstrument,
PriceRange brickSize,
OfferSide offerSide)
Create Renko feed info, default values are taken from:
base period,
IFeedInfo.DEFAULT_BASE_PERIOD . |
IFeedInfo |
IFeedInfoProvider.createRenkoFeedInfo(IFinancialInstrument financialInstrument,
PriceRange brickSize,
OfferSide offerSide,
Period timeSession)
Create Renko feed info, default values are taken from:
base period,
IFeedInfo.DEFAULT_BASE_PERIOD . |
IFeedInfo |
IFeedInfoProvider.createRenkoFeedInfo(IFinancialInstrument financialInstrument,
PriceRange brickSize,
OfferSide offerSide,
Period timeSession,
CreationPoint creationPoint)
Create Renko feed info, default values are taken from:
base period,
IFeedInfo.DEFAULT_BASE_PERIOD . |
IFeedInfo |
IFeedInfoProvider.createRenkoFeedInfo(IFinancialInstrument financialInstrument,
PriceRange brickSize,
OfferSide offerSide,
Period timeSession,
CreationPoint creationPoint,
Period basePeriod)
Create Renko 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)
Returns suitable DataInterpolationDescriptor according to the given PriceRange.
|
static DataInterpolationDescriptor |
DataInterpolationDescriptor.getSuitableDataInterpolationDescriptor(PriceRange priceRange,
ReversalAmount reversalAmount)
Returns suitable DataInterpolationDescriptor according to the given PriceRange and ReversalAmount.
|
void |
IRangeBarFeedListener.onBar(Instrument instrument,
OfferSide offerSide,
PriceRange priceRange,
IRangeBar bar)
Deprecated.
The method is being called when next Range Bar arrives
|
void |
IRenkoBarFeedListener.onBar(Instrument instrument,
OfferSide offerSide,
PriceRange brickSize,
IRenkoBar bar)
Deprecated.
The method is being called when next Renko Bar arrives
|
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.setPriceRange(PriceRange priceRange)
Setter for price range
|
void |
FeedDescriptor.setPriceRange(PriceRange priceRange)
Setter for price range
|
void |
IFeedInfo.setPriceRange(PriceRange priceRange)
Setter for price range
|
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.
|
RangeBarFeedDescriptor(Instrument instrument,
PriceRange priceRange,
OfferSide offerSide)
"Fast" constructor, which has minimal set of parameters for
FeedDescriptor creation |
RangeBarFeedDescriptor(Instrument instrument,
PriceRange priceRange,
OfferSide offerSide,
Period basePeriod)
"Fast" constructor, which has minimal set of parameters for
FeedDescriptor creation. |
RangeBarFeedDescriptor(Instrument instrument,
PriceRange priceRange,
OfferSide offerSide,
Period basePeriod,
DataInterpolationDescriptor interpolationDescriptor)
Constructor, that sets all required fields.
|
RenkoFeedDescriptor(Instrument instrument,
PriceRange brickSize,
OfferSide offerSide)
"Fast" constructor, which has minimal set of parameters for
FeedDescriptor creation
This constructor sets base period to default (IFeedDescriptor.DEFAULT_BASE_PERIOD ), renko session to Period.TICK and renko creation point to RenkoCreationPoint.CLOSE . |
RenkoFeedDescriptor(Instrument instrument,
PriceRange brickSize,
OfferSide offerSide,
Period basePeriod)
This constructor sets renko session to Period.TICK and renko creation point to
RenkoCreationPoint.CLOSE . |
RenkoFeedDescriptor(Instrument instrument,
PriceRange brickSize,
OfferSide offerSide,
Period timeSession,
CreationPoint creationPoint)
This constructor sets base period to default (
IFeedDescriptor.DEFAULT_BASE_PERIOD ) |
RenkoFeedDescriptor(Instrument instrument,
PriceRange brickSize,
OfferSide offerSide,
Period timeSession,
CreationPoint creationPoint,
Period basePeriod)
Constructor, that sets all required fields.
|
RenkoFeedDescriptor(Instrument instrument,
PriceRange brickSize,
OfferSide offerSide,
Period renkoSessionPeriod,
RenkoCreationPoint renkoCreationPoint)
Deprecated.
- use analog constructor, which takes CreationPoint instead of RenkoCreationPoint
|
RenkoFeedDescriptor(Instrument instrument,
PriceRange brickSize,
OfferSide offerSide,
Period renkoSessionPeriod,
RenkoCreationPoint renkoCreationPoint,
Period basePeriod)
Deprecated.
- use analog constructor, which takes CreationPoint instead of RenkoCreationPoint
|
Copyright © 2016. All rights reserved.