Dukascopy
 
 
Wiki JStore Search Login

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.

Time for a fully featured Historical Tester?
 Post subject: Time for a fully featured Historical Tester? Post rating: 0   New post Posted: Tue 09 Apr, 2019, 12:30 

User rating: 2
Joined: Thu 07 Nov, 2013, 12:15
Posts: 121
It's good to see some progress with the Historical Tester with the addition of some optimisation. And it seems to be using all available CPU cores, which is very cool. But it would be great if you could make a final push and add the main missing features. I've always found it odd that you offer much the most powerful trading API outside of corporate platforms, and yet the backtesting in JForex and the SDK is under-powered. I'm sure you know what a fully featured backtester would look like, but my two highest priority features would be:

Reporting: It is surely time to add professional-level integrated reporting, with the usual charts, ratios, breakdowns by instrument, day of week, time of day etc. I've implemented this myself on my own backtester and it only took a few days. You guys are far smarter than me, so it's not a big job. There are some terrific charting libraries available that make programming web reports fairly trivial. I've never understood why the current reporting is so basic when it would be easy to fix. And while you are at it, you could add the reports to the live accounts as well - I'm sure it would be a much appreciated feature.

Bar-resolution testing for volume and price bars: At the moment, anyone using Range Bars, Tick Bars, Renko etc is effectively limited to tick-resolution testing. While this is accurate, it is also extremely slow for multi-year tests, optimisation etc. It would be a major improvement if you could offer bar-resolution testing. The Data Manager offers these bars, which is a **fantastic** and much appreciated feature. But it would be a big step forwards if you made those bars available to the Historical Tester. There is a big gap in the market for bar-based backtesting with volume and price bars - there are endless forum threads about this all over the web. I've found that people who work with unconventional bars are often the kind of serious and professional traders you would be wanting to attract to Dukascopy and the JForex platform. Adding this feature would surely win you some valuable new customers.


 
 Post subject: Re: Time for a fully featured Historical Tester? Post rating: 0   New post Posted: Sat 16 Nov, 2019, 00:00 

User rating: 2
Joined: Thu 07 Nov, 2013, 12:15
Posts: 121
Started doing some work with time aggregations and realised that they are tick based too, unless you interpolate.

Adding bar-based backtesting for all feed types would be a much appreciated feature and a huge step forward for the platform.

I'm sure it would generate some buzz around JForex and bring some serious traders into Dukascopy.


 
 Post subject: Re: Time for a fully featured Historical Tester? Post rating: 0   New post Posted: Fri 20 Dec, 2019, 16:19 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hello.

Most of price aggregated data types use time session parameter to specify period of candles from which PA bars will be constructed.

Image

Strategy can customize this parameter in corresponding implementation of ITailoredFeedDescriptor interface when subscribing to data feed.
See example for Kagi Strategy.java

Range bars can be customized using DataInterpolationDescriptor parameter, Tick bars are always built from ticks.
Time aggregation candles in HT now are built from ticks, but interpolation also can be applied to speed up testing process.

Kind regards, Support Team.


Attachments:
screenshot2.png [53.01 KiB]
Downloaded 1044 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.
 

Jump to:  

cron
  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com