Package | Description |
---|---|
com.dukascopy.api |
Modifier and Type | Interface and Description |
---|---|
interface |
IDailyHighLowListener
Listens to the daily maximum and minimum prices for corresponding
instrument |
Modifier and Type | Method and Description |
---|---|
java.util.Map<Period,java.util.Map<Instrument,java.util.Collection<IHighLowListener>>> |
IDataService.getHighLowListeners()
Returns all high/low listeners
|
java.util.Map<Instrument,java.util.Collection<IHighLowListener>> |
IDataService.getHighLowListeners(Period period)
Returns all high/low listeners subscribed to the passed period and grouped by instrument
|
java.util.Collection<IHighLowListener> |
IDataService.getHighLowListeners(Period period,
Instrument instrument)
Returns all high/low listeners subscribed to the passed period and instrument
|
Modifier and Type | Method and Description |
---|---|
void |
IDataService.addHighLowListener(Period period,
Instrument instrument,
IHighLowListener listener)
Deprecated.
|
void |
IDataService.addHighLowListener(Period period,
Instrument instrument,
OfferSide offerSide,
IHighLowListener listener)
The method adds high/low listener.
After addition, listener will be notified with the current best period's high/low (If in progress candle exists in the system) If in progress candle doesn't exist in the system listener will be notified as soon as candle arrives |
void |
IDataService.removeHighLowListener(IHighLowListener listener)
Removes high/low listener.
NOTE: shared instance of listener will be unsubscribed from every period and/or instrument. |
Copyright © 2024. All rights reserved.