com.dukascopy.api
Interface ITick

All Superinterfaces:
ITimedData

public interface ITick
extends ITimedData

Tick data


Method Summary
 double getAsk()
          Best ask price on the market
 double[] getAsks()
          An array of top ask prices on the market.
 double getAskVolume()
          Volume available at the best ask price on the market
 double[] getAskVolumes()
          An array of top ask volumes on the market, correspondingly to the asks returned from getAsks() method
 double getBid()
          Best bid price on the market
 double[] getBids()
          An array of top bid prices on the market.
 double getBidVolume()
          Volume available at the best bid price on the market
 double[] getBidVolumes()
          An array of bid volumes on the market, correspondingly to the bids returned from getBids() method
 double getTotalAskVolume()
          Total ask volume available on the market
 double getTotalBidVolume()
          Total bid volume available on the market
 
Methods inherited from interface com.dukascopy.api.ITimedData
getTime
 

Method Detail

getAsk

double getAsk()
Best ask price on the market

Returns:
ask price

getBid

double getBid()
Best bid price on the market

Returns:
bid price

getAskVolume

double getAskVolume()
Volume available at the best ask price on the market

Returns:
ask volume

getBidVolume

double getBidVolume()
Volume available at the best bid price on the market

Returns:
bid volume

getAsks

double[] getAsks()
An array of top ask prices on the market.

Returns:
ask prices
See Also:
IContext.setSubscribedInstruments(java.util.Set)

getBids

double[] getBids()
An array of top bid prices on the market.

Returns:
bid prices
See Also:
IContext.setSubscribedInstruments(java.util.Set)

getAskVolumes

double[] getAskVolumes()
An array of top ask volumes on the market, correspondingly to the asks returned from getAsks() method

Returns:
ask volumes
See Also:
IContext.setSubscribedInstruments(java.util.Set)

getBidVolumes

double[] getBidVolumes()
An array of bid volumes on the market, correspondingly to the bids returned from getBids() method

Returns:
bid volumes
See Also:
IContext.setSubscribedInstruments(java.util.Set)

getTotalAskVolume

double getTotalAskVolume()
Total ask volume available on the market

Returns:
total ask volume
See Also:
IContext.setSubscribedInstruments(java.util.Set)

getTotalBidVolume

double getTotalBidVolume()
Total bid volume available on the market

Returns:
See Also:
IContext.setSubscribedInstruments(java.util.Set)