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.

How to interpret Processing Statistics?
 Post subject: How to interpret Processing Statistics? Post rating: 0   New post Posted: Mon 21 Aug, 2017, 16:47 
User avatar

User rating: 0
Joined: Sat 17 Nov, 2012, 11:28
Posts: 1
Location: Austria, Vienna
Hi there,

I'm learning to test strategy with the JF API.
When I enable the Processing Statistics on the TesterClient, it writes a lot of useful info on where the most processing time is spent, such as:
Processing statistic:
Function   Time   Calls   Percent
Ticks/Bars internal processing   19m 58s 111.20ms   75060053   47.62%
Ticks/Bars/Account Info data writing for charts   13m 10s 24.29ms   76546988   31.4%
Account information calculations   6m 47s 90.65ms   83985518   16.18%
onTick method calls   1m 23s 488ms   68784521   3.32%
...


By far, the majority of time is spent on Ticks/Bars internal processing and Ticks/Bars/Account Info data writing for charts, but not sure what it exactly means.
And since I'm only using the command line tester, could I somehow save the time for Ticks/Bars/Account Info data writing for charts, maybe by setting some flags?

Currently it is taking quite some time to test my strategy, I'm trying to understand which part of it could be improved by:
- code optimization
- more processing power: such as building a new machine with the new AMD Threadripper:)
- faster IO: I tried using RAM disk for the cache directory but it made literally no difference

Many thanks for any insight!
best,
Billy


 
 Post subject: Re: How to interpret Processing Statistics? Post rating: 0   New post Posted: Mon 28 Aug, 2017, 10:04 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
"Ticks/Bars/Account Info data writing for charts" is mainly due to downloading historical data over the network and saving it to disk.
In general first things that could improve the performance might be using SSD drive and using sufficiently fast network connection.


 

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