|
JFOREX-2520 Filter value ignored in API |
RoadRunner
|
Post subject: JFOREX-2520 Filter value ignored in API |
Post rating: 0
|
Posted: Tue 07 Dec, 2010, 09:27
|
|
User rating: 3
Joined: Wed 18 May, 2011, 16:25 Posts: 331 Location: SwitzerlandSwitzerland
|
Hi,
the IFilter is currently not working on zigzag. Regardless of the Filter-value passed, the API always returns the list for Filter.NO_FILTER.
I reckon this holds true not only for the zigzag but other indicators too as we've seen several recent postings reporting differences between the charting and indicator values returned through the API.
Could you please confirm this and let us know when this will be fixed? Thanks for fixing this asap!
Best, RR.
|
|
|
|
 |
RoadRunner
|
Post subject: Re: JFOREX-2520 Filter value ignored in API |
Post rating: 0
|
Posted: Sat 11 Dec, 2010, 22:42
|
|
User rating: 3
Joined: Wed 18 May, 2011, 16:25 Posts: 331 Location: SwitzerlandSwitzerland
|
Dear DukasCopy support,
Could this bug be related to an exception logic that is included in the API to handle data cache errors (i.e. return unfiltered results in case not all values could be retrieved, etc.)?
We at the moment are getting the correct values again (after multiple runs with wrong (unfiltered) values!). Maybe this "fix" is related to a clearing/reloading of the data cache.
Alternatively the behaviour might depend on the start time of the run. In earlier versions of the API we had experienced wrong values when starting runs directly at the beginning of a new year (i.e. after the holiday season). We didn't yet check this with the recent versions.
In any case this bug imo is very critical, as it does not occur all the time. Should this bug occur in a live session, this could lead to wrong indicator values and wrong entry signals!
Please do let us know when you have found something that can explain this behaviour. Up to then we are very uneasy to work with live strategies that apply filters.
Thank you very much for paying highest attention to this bug!
Best, RR.
|
|
|
|
 |
API Support
|
Post subject: Re: JFOREX-2520 Filter value ignored in API |
Post rating: 0
|
Posted: Thu 20 Jan, 2011, 14:35
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
The attached strategy demonstrates that the filter is used. Values are different (not always of course).
Attachments: |
Strategy.java [2.07 KiB]
Downloaded 452 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.
|
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|