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.

Tick List
 Post subject: Tick List Post rating: 0   New post Posted: Fri 05 Apr, 2013, 11:32 

User rating: 0
Joined: Mon 03 Dec, 2012, 09:55
Posts: 30
Hi

Is there a neat way to return N ticks from a specific time ... so a call like TickList = getTicks(start time,no ticks);

If not, what would be the mosr efficent way to do it

Thanks

Paul


 
 Post subject: Re: Tick List Post rating: 0   New post Posted: Fri 05 Apr, 2013, 11:47 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The following approach:
https://www.dukascopy.com/wiki/#History_ticks/Ticks_by_time_interval
If the returned tick count < n, then repeat till it is >= n.


 
 Post subject: Re: Tick List Post rating: 0   New post Posted: Fri 05 Apr, 2013, 13:02 

User rating: 0
Joined: Mon 03 Dec, 2012, 09:55
Posts: 30
Thankyou


 

Jump to:  

cron
  © 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