public interface ITick extends ITimedData
Modifier and Type | Method and Description |
---|---|
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
|
getTime
double getAsk()
double getBid()
double getAskVolume()
double getBidVolume()
double[] getAsks()
The price count is greater than 1 only when working with live data. Thus, for ticks retrieved from IHistory and when back-testing the price count is 1.
IContext.setSubscribedInstruments(java.util.Set)
double[] getBids()
The price count is greater than 1 only when working with live data. Thus, for ticks retrieved from IHistory and when back-testing the price count is 1.
IContext.setSubscribedInstruments(java.util.Set)
double[] getAskVolumes()
getAsks()
method
The price count is greater than 1 only when working with live data. Thus, for ticks retrieved from IHistory and when back-testing the price count is 1.
IContext.setSubscribedInstruments(java.util.Set)
double[] getBidVolumes()
getBids()
method
The price count is greater than 1 only when working with live data. Thus, for ticks retrieved from IHistory and when back-testing the price count is 1.
IContext.setSubscribedInstruments(java.util.Set)
double getTotalAskVolume()
IContext.setSubscribedInstruments(java.util.Set)
double getTotalBidVolume()
IContext.setSubscribedInstruments(java.util.Set)
Copyright © 2024. All rights reserved.