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.

Parallel testing
 Post subject: Parallel testing Post rating: 0   Post Posted: Fri 20 Aug, 2010, 09:16 

User rating: 0
Joined: Fri 07 May, 2010, 02:59
Posts: 61
Thank you for getting the parallel strategy stuff working, this is a godsend to us. Now we're able to do around 8 strategies per core at a time, and we're still not pegging all 8 cores, nor are we IO bound. This is just beautiful.

-Brian


 
 Post subject: Re: Parallel testing Post rating: 0   Post Posted: Fri 20 Aug, 2010, 21:12 

User rating: 0
Joined: Mon 09 Aug, 2010, 21:49
Posts: 30
What is this? Basically testing more than startegy at tim with the historical tester?


 
 Post subject: Re: Parallel testing Post rating: 0   Post Posted: Sat 21 Aug, 2010, 17:38 

User rating: 0
Joined: Fri 07 May, 2010, 02:59
Posts: 61
There's two ways to do historical testing: one is in the gui, the other uses the TesterFactory class so you can do everything in a process of your own. We wrote an automated test framework we run on Amazon's EC2 service, so we spin up 100 or so servers and run through a few million tests in about a day.

-Brian


 
 Post subject: Re: Parallel testing Post rating: 0   Post Posted: Sun 22 Aug, 2010, 02:18 

User rating: 0
Joined: Mon 09 Aug, 2010, 21:49
Posts: 30
Wow, that sounds great!


 
 Post subject: Re: Parallel testing Post rating: 0   Post Posted: Sun 29 Aug, 2010, 17:16 

User rating: 0
Joined: Mon 09 Aug, 2010, 21:49
Posts: 30
Brian,

When you do this, do you have to "install" your java programs on amazon's servers? Or does your code just see amazon's servers as RAM?


 
 Post subject: Re: Parallel testing Post rating: 0   Post Posted: Wed 01 Sep, 2010, 05:25 

User rating: 0
Joined: Fri 07 May, 2010, 02:59
Posts: 61
Amazon has a few types of servers you can 'lease'. Among them, one uses a windows image and the other uses a *nix image. I have a *nix image configured to start up and immediately download an archive I've created with the requisite jars, downloads a pre-downloaded cache, and starts polling a server for strategies to test.

It's just like having a server setup, only I don't have physical access.

-Brian


 
 Post subject: Re: Parallel testing Post rating: 0   Post Posted: Wed 17 Aug, 2011, 14:36 

User rating: 0
Joined: Wed 20 Jul, 2011, 10:33
Posts: 6
Location: JM
Brian i have an trying to test on these services i am running a backtest for over a year with approximately with approximately 20000 permutations and i want to know about approximately how long should that take on a large instance. Would you recommend switching to high CPU usage server as i noticed tonnes of the 8gb ram is free but the CPU IS PRETTY MUCH always at 100%.


 

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