|
Attention! Read the forum rules carefully before posting a topic.
Submit JForex API function requests in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
Improve IHistory#getOrdersHistory() |
kurak777
|
Post subject: Improve IHistory#getOrdersHistory() |
Post rating: 0
|
Posted: Wed 22 Jan, 2014, 20:34
|
|
User rating: 7
Joined: Fri 13 Jan, 2012, 20:49 Posts: 94 Location: Poland, Warsaw
|
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 250 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
|
API Support
|
Post subject: Re: Improve IHistory#getOrdersHistory() |
Post rating: 0
|
Posted: Thu 23 Jan, 2014, 08:33
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
The performance improvement will be available with JForex-API 3.0.
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|