Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Backtesting with more than one instrument
 Post subject: Backtesting with more than one instrument Post rating: 0   New post Posted: Mon 09 Jan, 2012, 16:16 

User rating: 0
Joined: Mon 09 Jan, 2012, 13:34
Posts: 2
Location: PT
Hi everybody,

I started developing a strategy some months ago.
Back then I just wanted to work on 1 instrument, however when using the history tester I verified that the onBar method was called for each instrument subscribed in platform.
Now, I want to be able to test more than one instrument at once but I can't. I have downloaded tick data for 3 instruments, the same subscribed in the platform and the same I subscribe in the strategy, but no matter how the only instrument used is the one selected in history tester for download.

Is there a way of backtesting with several instruments?

Than you in advance


 
 Post subject: Re: Backtesting with more than one instrument Post rating: 0   New post Posted: Tue 10 Jan, 2012, 09:26 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
crsousa wrote:
Is there a way of backtesting with several instruments?

Image
crsousa wrote:
Back then I just wanted to work on 1 instrument, however when using the history tester I verified that the onBar method was called for each instrument subscribed in platform.
See: https://www.dukascopy.com/wiki/#Filter_Ticks_Bars


Attachments:
historical_tester_multiple_instruments.png [47.54 KiB]
Downloaded 465 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.
 
 Post subject: Re: Backtesting with more than one instrument Post rating: 0   New post Posted: Wed 11 Jan, 2012, 17:24 

User rating: 0
Joined: Mon 09 Jan, 2012, 13:34
Posts: 2
Location: PT
The solutions was staring at me ... :oops:

Thanks


 

Jump to:  

cron
  © 1998-2025 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