Fetch historical tick data

Created at 05 Jan 2020, 23:41
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
douglascvas's avatar

douglascvas

Joined 02.01.2018

Fetch historical tick data
05 Jan 2020, 23:41


Hi,

I try fetching tick data for a period, even for a day, and it gives me a "hasMore = true".

1) What does that mean? Is it possible to continue fetching from there or should I re-define the request using a smaller period (something like an hour)?

If I try to break a bigger period into smaller ones of one hour each the server says I exceeded the amount of requests allowed.

2) What is the maximum limit of requests?

3) How can I fetch a long period - like a year - of tick data then?

What is the best way to fetch tick data?

 

Many thanks,

Douglas.


@douglascvas
Replies

... Deleted by UFO ...

douglascvas
15 Jan 2020, 12:07

RE: RE:

kerrifox19 said:

What exactly do you want?

Exactly what I explained... I just want to know what is the best way to fetch tick history data from the server.

I am currently splitting the period by hour, if I get a "hasMore" flag then I try fetching again from the next millisecond after the last tick I got. I think that is good enough.


@douglascvas