com.dukascopy.api
Interface IBar


public interface IBar

Represents a bar (candle).

Author:
Denis Larka, Dmitry Shohov

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
 long getTime()
          Returns start time of the bar
 double getVolume()
          Returns volume of the bar.
 

Method Detail

getTime

long getTime()
Returns start time of the bar

Returns:
time of the bar

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


Copyright © 2009. All Rights Reserved.