|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
Historical Ask and Bid Volume |
[janjjj]
|
Post subject: Historical Ask and Bid Volume |
Post rating: 0
|
Posted: Mon 13 Sep, 2010, 10:46
|
|
User rating: 0
Joined: Wed 26 May, 2010, 18:57 Posts: 11
|
The method getTicks() return list of ITick. And when I call mathod getAskVolumes() and getBidVolumes() on this ticks then it always return double array of length equal 1. This value is equal value od tick.getAskVolume().
For example:
java.util.List<ITick> historyTicks = history.getTicks(instrument, startTime, nendTime); for(ITick tick :historyTicks){ tick.getAskVolumes().length; }
Always return 1.
When it will be fixed?
|
|
|
|
 |
API Support
|
Post subject: Re: Historical Ask and Bid Volume |
Post rating: 0
|
Posted: Wed 15 Sep, 2010, 09:08
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Never. Historical data contains only best price.
|
|
|
|
 |
[Phantal]
|
Post subject: Re: Historical Ask and Bid Volume |
Post rating: 0
|
Posted: Wed 15 Sep, 2010, 19:48
|
|
User rating: 0
Joined: Fri 07 May, 2010, 02:59 Posts: 61
|
Support,
Just to clarify your response there, historical data /only/ contains 'best price' ticks, and no others -- that is, no market depth information on the order book; is this true?
-Brian
|
|
|
|
 |
API Support
|
Post subject: Re: Historical Ask and Bid Volume |
Post rating: 0
|
Posted: Mon 20 Sep, 2010, 18:32
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
There is no market depth information on the history order book.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|