com.dukascopy.api
Interface IBar

All Superinterfaces:
ITimedData
All Known Subinterfaces:
IPointAndFigure, IPriceAggregationBar, IRangeBar, IRenkoBar, ITickBar

public interface IBar
extends ITimedData

Represents a bar (candle).


Method Summary
 double getClose()
          Returns closing price of the bar
 double getHigh()
          Returns the highest price of the bar
 double getLow()
          Returns the lowest price of the bar
 double getOpen()
          Returns opening price of the bar
 double getVolume()
          Returns volume of the bar.
 
Methods inherited from interface com.dukascopy.api.ITimedData
getTime
 

Method Detail

getOpen

double getOpen()
Returns opening price of the bar

Returns:
opening price

getClose

double getClose()
Returns closing price of the bar

Returns:
closing price

getLow

double getLow()
Returns the lowest price of the bar

Returns:
the lowest price

getHigh

double getHigh()
Returns the highest price of the bar

Returns:
the highest price

getVolume

double getVolume()
Returns volume of the bar. This is the sum of volumes of best prices for each tick in this bar

Returns:
volume of the bar