Author |
Topic: Retrieving backfill tick data (4 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
CGegg573 Posts: 2 Joined: Mar 01, 2011 |
Hey all,
What method is used to retrieve backfill tick data. I've been told it only goes back a day or two which is fine, but currently I am lost on how to retrieve the historical tick data and I couldn't find it in the documentation. Does anyone know? Also if you could provide some simply code for getting backfill tick data that would be awesome! Thanks guys! Chandler Gegg |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Hello,
you need to use RequestTicks method http://www.openecry.com/api/api/OEC.API.OECClient.RequestTicks.html. Responses will be sent in several "packets" via OnTicksReceived event http://www.openecry.com/api/api/OEC.API.OECClient.OnTicksReceived.html You can request up to 3 days back, but our server will send no more than 64K of ticks (the latest ones). So, you will need to re-request of missing part one more time to get one more 64K ticks and so forth. Victor Vins Software Developer |
||||
CGegg573 Posts: 2 Joined: Mar 01, 2011 |
appreciate the information.
To confirm - tick data does not offer bid quantity, ask quantity or last trade? Is that correct? Thanks Chandler Chandler Gegg |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Right - tick data do not provide bid/ask quantity.
last trade - I think tick and "last trade" are synonyms Victor Vins Software Developer |
||||