Dukascopy
 
 
Wiki JStore Search Login

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
 Post subject: Historical Ask and Bid Volume Post rating: 0   New post 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?


 
 Post subject: Re: Historical Ask and Bid Volume Post rating: 0   New post Posted: Wed 15 Sep, 2010, 09:08 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Never. Historical data contains only best price.


 
 Post subject: Re: Historical Ask and Bid Volume Post rating: 0   New post 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


 
 Post subject: Re: Historical Ask and Bid Volume Post rating: 0   New post Posted: Mon 20 Sep, 2010, 18:32 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
There is no market depth information on the history order book.


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com