Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Improve IHistory#getOrdersHistory()
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=83&t=50693
Page 1 of 1

Author:  kurak777 [ Wed 22 Jan, 2014, 20:34 ]
Post subject:  Improve IHistory#getOrdersHistory()

Hello Dukascopy Team,

Could you please improve IHistory#getOrdersHistory() method?

The simple strategy from attachment retrieves one day history for all instruments.

Execution time of this simple code varies between 15 seconds and 6 minutes! Unfortunately most of the runs last around 6 minutes. It takes 6 minutes even if there are no closed orders on any of checked instrument.

Could you please improve the method so the execution time for most of the runs could be a matter of seconds, not minutes?

Thank you and best regards,
Kurak

Attachments:
LoadHistory.java [1.93 KiB]
Downloaded 253 times

Author:  API Support [ Thu 23 Jan, 2014, 08:33 ]
Post subject:  Re: Improve IHistory#getOrdersHistory()

The performance improvement will be available with JForex-API 3.0.

  Page 1 of 1