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.

Message that i dont understand
 Post subject: Message that i dont understand Post rating: 0   New post Posted: Sun 15 Feb, 2015, 20:28 
User avatar

User rating: 1
Joined: Sun 18 Dec, 2011, 04:05
Posts: 36
Location: Spain, Madrid
Hi all,

I have several strategies running in demo accounts, some in local computre and the other in remote.

In local strategies I have the following message that I don't know if there is something wrong with the coding or with the PC performance (maybe because have several platform open at the same time):

Strategy thread queue overloaded with tasks. Ticks in queue -3, bars - 670, other tasks -4
Strategy thread queue overloaded with tasks. Ticks in queue -3, bars - 670, other tasks -4
Strategy thread queue overloaded with tasks. Ticks in queue -3, bars - 670, other tasks -4
Strategy thread queue overloaded with tasks. Ticks in queue -3, bars - 670, other tasks -4
Strategy thread queue overloaded with tasks. Ticks in queue -3, bars - 670, other tasks -4
Strategy thread queue overloaded with tasks. Ticks in queue -3, bars - 536, other tasks -0
Strategy thread queue overloaded with tasks. Ticks in queue -3, bars - 536, other tasks -0

The numbers change.

When showing this message, sometimes the strategy stops and other don't. Why? Is this because of coding java or something with the computer performance?. In fact, I don't have these message on remote strategies.

Thank you and best regards


 
 Post subject: Re: Message that i dont understand Post rating: 0   New post Posted: Mon 16 Feb, 2015, 11:25 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
This happens if strategy is unable finishing previous events and new onTick events arrive.


 
 Post subject: Re: Message that i dont understand Post rating: 0   New post Posted: Mon 16 Feb, 2015, 15:36 
User avatar

User rating: 1
Joined: Sun 18 Dec, 2011, 04:05
Posts: 36
Location: Spain, Madrid
thanks,

Any suggestions to fix this?

Best regards


 
 Post subject: Re: Message that i dont understand Post rating: 0   New post Posted: Thu 19 Feb, 2015, 10:59 
User avatar

User rating: 1
Joined: Sun 18 Dec, 2011, 04:05
Posts: 36
Location: Spain, Madrid
anyone?


 
 Post subject: Re: Message that i dont understand Post rating: 0   New post Posted: Thu 19 Feb, 2015, 11:49 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
To fix this you need to free up CPU resources on your machine or increase strategy's performance.
One option could be to place maximum computation logic inside onBar() method rather than in onTick().


 
 Post subject: Re: Message that i dont understand Post rating: 0   New post Posted: Fri 20 Feb, 2015, 13:57 
User avatar

User rating: 1
Joined: Sun 18 Dec, 2011, 04:05
Posts: 36
Location: Spain, Madrid
Ok. Thanks. I will improve this.

Best regards


 

Jump to:  

  © 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