Fields marked with this annotation will be shown in dialog before strategy start.
Values from that dialog will be set to fields before calling onStart method.
Depending on the parameter type it gets represented differently in the parameters dialog.
The following parameter types are supported:
Parameter type
Applicable Java types
Representation
Remote mode differences
Number
int, double, short, long, Integer, Double, Short, Long
Number field with a modifiable step size
Boolean
boolean, Boolean
Checkbox
String
String
Text field
File
java.util.File
Text field with a path and a file chooser
Date
java.util.Calendar, java.util.Date, long and Long with Configurable.datetimeAsLong = true
Date picker
Color
java.util.Color
Color picker
Constants
any enum or Enum or a class containing self-typed public static final fields
Single-selection combobox
User-defined constants via Configurable.options
Collection of constants
java.util.Collection of any enum or Enum or a class containing self-typed public static final fields
Multi-selection dialog
User-defined constants are not allowed
IFeedDescriptor
IFeedDescriptor implementations from com.dukascopy.api.feed.util
Data feed chooser dialog
ConfigurableChangeListener |
DataLoadingListener
Deprecated.
|
DataType
The enumeration describes several data types used in JForex
|
DataType.DataPresentationType |
Filter
Different methods of flats filtering
|
IAccount
Methods of this interface allows to retrieve account information such as current equity
|
IAccount.AccountState
Account state: OK, MARGIN_CLOSING, MARGIN_CALL, OK_NO_MARGIN_CALL, DISABLED, BLOCKED.
|
IBar
Represents a bar (candle).
|
ICalendarMessage.Detail
Calendar message's detail
|
IChart
Allows to draw graphical objects on the chart
|
IChart.PickingPriceListener
Listener to receive picked price value in picking price mode.
|
IChart.Type
Type of the graphical object
|
IChartObject
Represents graphical object on the chart
|
IChartObject.ATTR_BOOLEAN
Deprecated.
|
IChartObject.ATTR_COLOR
Deprecated.
|
IChartObject.ATTR_DOUBLE
Deprecated.
|
IChartObject.ATTR_INT
Deprecated.
|
IChartObject.ATTR_LONG
Deprecated.
|
IChartObject.ATTR_TEXT
Deprecated.
|
IChartPanel
Chart panel container for objects of corresponding type.
|
IClientChartController
Allows control over the chart objects and mouse listeners
NOTE: Used only by Standalone JForex API.
|
IClientChartPresentationManager
Manages Chart presentation modes ( Period , DataType , etc.).
NOTE: Used only by Standalone JForex API.
|
IClientGUI
|
IClientInfo
Contains the account's clients information.
|
ICloseOrder
Contains partial order data when order was partially or fully closed by server, respectively.
Order's lifecycle contains from 0 to many elements of this data.
|
IConsole
Allows to print messages to Messages table
|
IContext
Gives access to the various parts of the system
|
ICurrency |
IDailyHighLowListener
Listens to the daily maximum and minimum prices for corresponding instrument
|
IDataService
Provide with system state:
The information about high/low prices for corresponding instruments and periods.
|
IDownloadableStrategies |
IDownloadableStrategy |
IDownloadableStrategy.ComponentType |
IEngine
Interface to the main engine, that allows orders submission, merging etc
|
IEngine.OrderCommand
Specifies type of the order
|
IEngine.RunMode
Stands for strategy run mode - if it is ran locally or on remote server
|
IEngine.StrategyMode
Specifies strategy running mode.
|
IEngine.Type
Type of the engine
|
IEntryOrder
Provides access to Entry Order data.
|
IFillOrder
Contains partial order data when order was partially or fully filled by server, respectively.
Order's lifecycle contains from 0 to many elements of this data.
|
IFXSentimentIndex
Forex Sentiment Index.
Shows the percentage of longs in the overall amount of open trades in the most popular currencies and currency pairs consolidated by liquidity consumers.
The sentiment ratio of Liquidity providers is opposite to Liquidity consumers (opposite to IFXSentimentIndex.getIndexValue() .
The index reflects the distribution of the current market conditions and is updated every 30 minutes.
|
IFXSentimentIndexBar
Deprecated.
|
IFXTimedSentimentIndex |
IHighLowListener
Listens to the maximum and minimum prices for corresponding instrument
|
IHistory
The IHistory interface represents API for historical data access.
|
IIndicatorPanel |
IIndicators
Contains a set of functions to calculate indicator data
|
IIndicators.AppliedPrice
Used to specify which price to use for indicator calculation
|
IIndicators.MaType
Types of Moving Average
|
IJFRunnable |
ILoadingReportPositionListener
|
IMessage
Represents message sent from server to client application
|
IMessage.Reason
Reason of message.
|
IMessage.Type
Type of the message
|
INewsFilter
|
INewsFilter.Country
Countries
|
INewsFilter.Currency
Currencies
|
INewsFilter.EventCategory
Event Category contains an ID of the event category so that historical events can be linked
|
INewsFilter.IndexRegion
|
INewsFilter.MarketSector
Market sectors
|
INewsFilter.NewsSource
News sources
|
INewsFilter.Region
|
INewsFilter.StockIndex
Stock indices
|
INewsFilter.Type
News types
|
INewsMessage
News message definition - received as result of subscription using INewsFilter
|
INewsMessage.Action
Actions
|
Instrument
Defines currency pairs traded by Dukascopy.
|
IOrder
Contains order data and allows order manipulation
|
IOrder.State
Indicates state of the order
|
IOrderComponent
Base interface for IOrder components.
|
IPartialOrder
Contains partial order data (either fill or close) when order was partially or fully filled or closed by server, respectively.
Order's lifecycle contains from 0 to many elements of this data.
|
IReportPosition
Provides information about report position
|
IReportPosition.PositionType
Indicates type of Position
|
IReportService
|
ISignal
Signals, generated by strategy
|
ISignal.Type |
IStopLossOrder
Provides access to Stop Loss Order data.
|
IStrategies
|
IStrategy
Interface that all strategies should implement
|
IStrategyListener |
ITakeProfitOrder
Provides access to Take Profit Order data.
|
ITick
Tick data
|
ITimedData |
ITimeDomain |
IUserInterface
Provides access to various user interface parts
|
IWLabelData
|
JFException
Used to indicate errors when calling API functions
|
JFException.Error
Used to easily create exceptions with appropriate message
|
JFTimeZone
This class represents time zone.
|
JFUtils |
LineBreakLookback
This class is used for Line Break data look-back identification.
|
LoadingDataListener
Listener to receive ticks and candles
|
LoadingOrdersListener |
LoadingProgressListener
Listener to follow and control (cancel) loading progress
|
Money
Straightforward money bean (double value along with ICurrency ).
Intended to be used in expressing monetary amounts and prices.
|
NewsFilter
|
NewsFilter.ITimeFrame |
NewsFilter.TimeFrame
Utility enum for end date calculations
|
OfferSide
Defines offer side
|
OrdersLoadingListener
Deprecated.
|
Period
Represents periods of bars.
|
PriceRange
The class is used for Range Bar and Point&Figures price interval in pips identification
|
ReversalAmount
The class indicates the amount of price movement required to shift a chart to the right.
|
TickBarSize
The class indicates the number of ticks to be included to one Tick Bar
|
Unit
Defines time units
|