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.

orders and multi-threading
 Post subject: orders and multi-threading Post rating: 0   New post Posted: Fri 08 Oct, 2010, 00:21 

User rating: -
It appears that any order submissions must be made on the same threads as you the notifications received via onTick/onBar/etc lest you receive a JFException for illegal thread access. I don't see any way to pass a Runnable to one of the engine's threads for execution. Does anyone know of a way to circumvent this limitation?


 
 Post subject: Re: orders and multi-threading Post rating: 0   New post Posted: Fri 08 Oct, 2010, 07:44 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
please consider this https://www.dukascopy.com/wiki/index.php/Threading


 

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