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(java.lang.String str)
The method returns appropriate PriceRange for the passed String
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<PriceRange> |
PriceRange.createJForexPriceRanges()
Method creates and returns first 1000 Price Ranges.
|
Modifier and Type | Method and Description |
---|---|
int |
PriceRange.compareTo(PriceRange priceRange)
The method compares passed PriceRange with the current one
|
IPointAndFigure |
IHistory.getPointAndFigure(Instrument instrument,
OfferSide offerSide,
PriceRange boxSize,
ReversalAmount reversalAmount,
int shift)
Deprecated.
|
java.util.List<IPointAndFigure> |
IHistory.getPointAndFigures(Instrument instrument,
OfferSide offerSide,
PriceRange boxSize,
ReversalAmount reversalAmount,
int numberOfBarsBefore,
long time,
int numberOfBarsAfter)
Deprecated.
|
java.util.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.
|
java.util.List<IRangeBar> |
IHistory.getRangeBars(Instrument instrument,
OfferSide offerSide,
PriceRange priceRange,
int numberOfBarsBefore,
long time,
int numberOfBarsAfter)
Deprecated.
|
java.util.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.
|
java.util.List<IRenkoBar> |
IHistory.getRenkoBars(Instrument instrument,
OfferSide offerSide,
PriceRange brickSize,
int numberOfBarsBefore,
long time,
int numberOfBarsAfter)
Deprecated.
|
java.util.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 |
IFeedInfo.getPriceRange()
Deprecated.
Getter for price range
|
PriceRange |
IFeedDescriptor.getPriceRange()
Getter for price range
|
PriceRange |
FeedInfo.getPriceRange()
Deprecated.
Getter for price range
|
PriceRange |
FeedDescriptor.getPriceRange()
Getter for price range
|
protected static PriceRange |
FeedInfo.validatePriceRange(PriceRange reversalAmount)
Deprecated.
|
protected static PriceRange |
FeedDescriptor.validatePriceRange(PriceRange reversalAmount) |
protected static PriceRange |
FeedInfo.validateTurnaroundAmount(PriceRange reversalAmount)
Deprecated.
|
protected static PriceRange |
FeedDescriptor.validateTurnaroundAmount(PriceRange reversalAmount) |
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)
Deprecated.
|
IFeedInfo |
IFeedInfoProvider.createKagiFeedInfo(IFinancialInstrument financialInstrument,
OfferSide offerSide,
PriceRange turnaroundAmount)
Deprecated.
Create Kagi feed info, default values are taken from:
base period,
IFeedInfo.DEFAULT_BASE_PERIOD . |
IFeedInfo |
IFeedInfoProvider.createKagiFeedInfo(IFinancialInstrument financialInstrument,
OfferSide offerSide,
PriceRange turnaroundAmount,
Period timeSession)
Deprecated.
Create Kagi feed info, default values are taken from:
base period,
IFeedInfo.DEFAULT_BASE_PERIOD . |
IFeedInfo |
IFeedInfoProvider.createKagiFeedInfo(IFinancialInstrument financialInstrument,
OfferSide offerSide,
PriceRange turnaroundAmount,
Period timeSession,
CreationPoint creationPoint)
Deprecated.
Create Kagi feed info, default values are taken from:
base period,
IFeedInfo.DEFAULT_BASE_PERIOD . |
IFeedInfo |
IFeedInfoProvider.createKagiFeedInfo(IFinancialInstrument financialInstrument,
OfferSide offerSide,
PriceRange turnaroundAmount,
Period timeSession,
CreationPoint creationPoint,
Period basePeriod)
Deprecated.
Create Kagi feed info, default values are taken from:
base period,
IFeedInfo.DEFAULT_BASE_PERIOD . |
IFeedInfo |
IFeedInfoProvider.createPointAndFigureFeedInfo(IFinancialInstrument financialInstrument,
PriceRange boxSize,
ReversalAmount reversalAmount,
OfferSide offerSide)
Deprecated.
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)
Deprecated.
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)
Deprecated.
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)
Deprecated.
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)
Deprecated.
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)
Deprecated.
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)
Deprecated.
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)
Deprecated.
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)
Deprecated.
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)
Deprecated.
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 |
IFeedInfo.setPriceRange(PriceRange priceRange)
Deprecated.
Setter for price range
|
void |
IFeedDescriptor.setPriceRange(PriceRange priceRange)
Setter for price range
|
void |
FeedInfo.setPriceRange(PriceRange priceRange)
Deprecated.
Setter for price range
|
void |
FeedDescriptor.setPriceRange(PriceRange priceRange)
Setter for price range
|
protected static PriceRange |
FeedInfo.validatePriceRange(PriceRange reversalAmount)
Deprecated.
|
protected static PriceRange |
FeedDescriptor.validatePriceRange(PriceRange reversalAmount) |
protected static PriceRange |
FeedInfo.validateTurnaroundAmount(PriceRange reversalAmount)
Deprecated.
|
protected static PriceRange |
FeedDescriptor.validateTurnaroundAmount(PriceRange reversalAmount) |
Constructor and Description |
---|
FeedDescriptor(DataType dataType,
Instrument instrument,
Period period,
OfferSide offerSide,
PriceRange priceRange,
ReversalAmount reversalAmount,
TickBarSize tickBarSize,
Filter filter) |
FeedInfo(DataType dataType,
IFinancialInstrument financialInstrument,
Period period,
OfferSide offerSide,
PriceRange priceRange,
ReversalAmount reversalAmount,
TickBarSize tickBarSize,
Filter filter)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
KagiFeedInfo.setPriceRange(PriceRange turnaroundAmount)
Deprecated.
|
void |
KagiFeedDescriptor.setPriceRange(PriceRange turnaroundAmount) |
Constructor and Description |
---|
KagiFeedDescriptor(Instrument instrument,
OfferSide offerSide,
PriceRange turnaroundAmount)
Constructor for Kagi data with static turnaround price in pips (turnaroundAmount), which uses default values for:
base period -
IFeedDescriptor.DEFAULT_BASE_PERIOD
creation point - CreationPoint.CLOSE
time session - Period.TICK
|
KagiFeedDescriptor(Instrument instrument,
OfferSide offerSide,
PriceRange turnaroundAmount,
Period timeSession)
Constructor for Kagi data with static turnaround price in pips (turnaroundAmount), which uses default values for:
base period -
IFeedDescriptor.DEFAULT_BASE_PERIOD
creation point - CreationPoint.CLOSE
|
KagiFeedDescriptor(Instrument instrument,
OfferSide offerSide,
PriceRange turnaroundAmount,
Period timeSession,
CreationPoint creationPoint)
Constructor for Kagi data with static turnaround price in pips (turnaroundAmount), which uses default values for:
base period -
IFeedDescriptor.DEFAULT_BASE_PERIOD
|
KagiFeedDescriptor(Instrument instrument,
OfferSide offerSide,
PriceRange turnaroundAmount,
Period timeSession,
CreationPoint creationPoint,
Period basePeriod)
Constructor, that sets all the required fields.
|
KagiFeedInfo(IFinancialInstrument financialInstrument,
OfferSide offerSide,
PriceRange turnaroundAmount)
Deprecated.
Constructor for Kagi data with static turnaround price in pips (turnaroundAmount), which uses default values for:
base period -
IFeedDescriptor.DEFAULT_BASE_PERIOD
creation point - CreationPoint.CLOSE
time session - Period.TICK
|
KagiFeedInfo(IFinancialInstrument financialInstrument,
OfferSide offerSide,
PriceRange turnaroundAmount,
Period timeSession)
Deprecated.
Constructor for Kagi data with static turnaround price in pips (turnaroundAmount), which uses default values for:
base period -
IFeedDescriptor.DEFAULT_BASE_PERIOD
creation point - CreationPoint.CLOSE
|
KagiFeedInfo(IFinancialInstrument financialInstrument,
OfferSide offerSide,
PriceRange turnaroundAmount,
Period timeSession,
CreationPoint creationPoint)
Deprecated.
Constructor for Kagi data with static turnaround price in pips (turnaroundAmount), which uses default values for:
base period -
IFeedDescriptor.DEFAULT_BASE_PERIOD
|
KagiFeedInfo(IFinancialInstrument financialInstrument,
OfferSide offerSide,
PriceRange turnaroundAmount,
Period timeSession,
CreationPoint creationPoint,
Period basePeriod)
Deprecated.
Constructor, that sets all the required fields.
|
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 timeSession,
CalculationMethod calculationMethod,
Period basePeriod)
Constructor, that sets all required fields.
|
PointAndFigureFeedDescriptor(Instrument instrument,
PriceRange boxSize,
ReversalAmount reversalAmount,
OfferSide offerSide,
Period basePeriod,
DataInterpolationDescriptor interpolationDescriptor)
Deprecated.
Interpolation descriptor is not used for P&F calculation any more.
See
PointAndFigureFeedDescriptor.PointAndFigureFeedDescriptor(com.dukascopy.api.Instrument, com.dukascopy.api.PriceRange, com.dukascopy.api.ReversalAmount, com.dukascopy.api.OfferSide, com.dukascopy.api.Period, com.dukascopy.api.feed.CalculationMethod, com.dukascopy.api.Period) |
PointAndFigureFeedInfo(IFinancialInstrument financialInstrument,
PriceRange boxSize,
ReversalAmount reversalAmount,
OfferSide offerSide)
Deprecated.
"Fast" constructor, which has minimal set of parameters for
FeedDescriptor creation
Base period is set to default (one week). |
PointAndFigureFeedInfo(IFinancialInstrument financialInstrument,
PriceRange boxSize,
ReversalAmount reversalAmount,
OfferSide offerSide,
Period basePeriod)
Deprecated.
"Fast" constructor, which has minimal set of parameters for
FeedDescriptor creation. |
PointAndFigureFeedInfo(IFinancialInstrument financialInstrument,
PriceRange boxSize,
ReversalAmount reversalAmount,
OfferSide offerSide,
Period basePeriod,
DataInterpolationDescriptor interpolationDescriptor)
Deprecated.
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.
|
RangeBarFeedInfo(IFinancialInstrument financialInstrument,
PriceRange priceRange,
OfferSide offerSide)
Deprecated.
"Fast" constructor, which has minimal set of parameters for
FeedDescriptor creation |
RangeBarFeedInfo(IFinancialInstrument financialInstrument,
PriceRange priceRange,
OfferSide offerSide,
Period basePeriod)
Deprecated.
"Fast" constructor, which has minimal set of parameters for
FeedDescriptor creation. |
RangeBarFeedInfo(IFinancialInstrument financialInstrument,
PriceRange priceRange,
OfferSide offerSide,
Period basePeriod,
DataInterpolationDescriptor interpolationDescriptor)
Deprecated.
Constructor, that sets all required fields.
|
RenkoFeedDescriptor(Instrument instrument,
PriceRange brickSize,
OfferSide offerSide)
"Fast" constructor, which has minimal set of parameters for
FeedDescriptor creation. |
RenkoFeedDescriptor(Instrument instrument,
PriceRange brickSize,
OfferSide offerSide,
Period basePeriod)
This constructor sets renko session to Period.TICK, renko creation point to
RenkoCreationPoint.CLOSE and renko type to RenkoType.REGULAR . |
RenkoFeedDescriptor(Instrument instrument,
PriceRange brickSize,
OfferSide offerSide,
Period timeSession,
CreationPoint creationPoint)
This constructor sets base period to default (
IFeedDescriptor.DEFAULT_BASE_PERIOD ) and renko type to RenkoType.REGULAR . |
RenkoFeedDescriptor(Instrument instrument,
PriceRange brickSize,
OfferSide offerSide,
Period timeSession,
CreationPoint creationPoint,
Period basePeriod)
This constructor sets renko type to
RenkoType.REGULAR . |
RenkoFeedDescriptor(Instrument instrument,
PriceRange brickSize,
OfferSide offerSide,
Period timeSession,
CreationPoint creationPoint,
Period basePeriod,
RenkoType renkoType)
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
|
RenkoFeedInfo(IFinancialInstrument financialInstrument,
PriceRange brickSize,
OfferSide offerSide)
Deprecated.
"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 . |
RenkoFeedInfo(IFinancialInstrument financialInstrument,
PriceRange brickSize,
OfferSide offerSide,
Period basePeriod)
Deprecated.
This constructor sets renko session to Period.TICK and renko creation point to
RenkoCreationPoint.CLOSE . |
RenkoFeedInfo(IFinancialInstrument financialInstrument,
PriceRange brickSize,
OfferSide offerSide,
Period timeSession,
CreationPoint creationPoint)
Deprecated.
This constructor sets base period to default (
IFeedDescriptor.DEFAULT_BASE_PERIOD ) |
RenkoFeedInfo(IFinancialInstrument financialInstrument,
PriceRange brickSize,
OfferSide offerSide,
Period timeSession,
CreationPoint creationPoint,
Period basePeriod)
Deprecated.
Constructor, that sets all required fields.
|
Copyright © 2024. All rights reserved.