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.

messages of errors when strategy running
 Post subject: messages of errors when strategy running Post rating: 0   New post Posted: Tue 03 Jan, 2012, 19:16 
User avatar

User rating: 0
Joined: Sun 09 Oct, 2011, 15:43
Posts: 7
Location: ChinaChina
Hello support,

I got the following messages quite often recently. They didnot appear in the past.

For example,

Quote:
18:10:31 Strategy thread queue overloaded with tasks. Ticks in queue - 17, bars - 1292, other tasks - 8

18:10:31 com.dukascopy.charts.data.datacache.DataCacheException: Cannot execute request for data for instrument [EUR/USD] period [1 Min] side [Bid] from [2012.01.03 17:59:00 000] to [2012.01.03 17:59:00 000] attempt [5] @ com.dukascopy.charts.data.datacache.t.a(Unknown Source)


Kindly let me know what I should do.

Thank you very much. I wish you a prosperous 2012!


 
 Post subject: Re: messages of errors when strategy running Post rating: 0   New post Posted: Wed 04 Jan, 2012, 09:06 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The most likely reason for this is in onBar method:
  • an infinite loop,
  • an irresponsive execution block,
  • an execution block which in average takes more time than the onBar period (i.e. a new bar arrives before the execution of onBar of previous bar completes), such that the bars eventually queue up.


 

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