Page 1 of 1

Python/Java/etc API

Posted: Mon Jan 09, 2017 8:47 pm
by Goatseer
Hi,

I want to be able to automatically download and export the data each day. There doesn't seem to be a way to programmatically do this at the moment. Is it planned?

Thanks

Re: Python/Java/etc API

Posted: Mon Jan 09, 2017 10:37 pm
by tickstory
Hi Goatseer,

Yes, this feature is planned. If you have some particular requirements around this (such as protocol), please let us know. At the moment we're looking at JSON with a RESTful-like API.

Regards.

Re: Python/Java/etc API

Posted: Tue Apr 03, 2018 3:38 pm
by kriskraai
Has tickstory made an API feature available yet?

Re: Python/Java/etc API

Posted: Thu Apr 05, 2018 2:49 am
by tickstory
Hi,

Not as of v1.8.9.2. We still have this in our book of work, however we prioritise based on the demand for a particular feature, so if others are interested, please let us know.

Thanks.

Re: Python/Java/etc API

Posted: Mon Apr 09, 2018 12:55 am
by kriskraai
Maybe you could charge for it. If the price is reasonable, I'm sure many people would be interested.

Re: Python/Java/etc API

Posted: Fri Feb 26, 2021 10:05 am
by jdaniele
Goatseer wrote:
Mon Jan 09, 2017 8:47 pm
Hi,

I want to be able to automatically download and export the data each day. There doesn't seem to be a way to programmatically do this at the moment. Is it planned?

Thanks
Hi Goatseer,

it should be fairly easy.

1) Write a loop that every day download URLs like this "http://datafeed.dukascopy.com/datafeed/ ... _ticks.bi5" and save the daily files to disk in a proper structure like Tickstory already do.

2) Open the 24 files of the day, decompress and read binary data from them (have a look here viewtopic.php?f=2&t=1233&p=10644&hilit= ... da0#p10644 about data format), putting it in a list of records.

3) Once you have data in a list, you can export it as you want, in CSV for example.

4) repeat the process for every financial instrument you need to download and export.

I would choose Python to do that, in few lines of code.

Hope this helps. ;)
Daniele