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.

Is IEngine and/or IContext Thread Safe?
 Post subject: Is IEngine and/or IContext Thread Safe? Post rating: 0   New post Posted: Mon 19 Oct, 2015, 16:31 
User avatar

User rating: 0
Joined: Mon 19 Oct, 2015, 16:28
Posts: 6
Location: Canada,
Is IEngine and/or IContext Thread Safe?

If no, can someone list the methods in them that are Thread-Safe?


 
 Post subject: Re: Is IEngine and/or IContext Thread Safe? Post rating: 0   New post Posted: Tue 10 Nov, 2015, 14:39 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
IEngine, IContext and other API methods can only be called in 2 ways:
1) from IStrategy methods
2) using IContext.executeTask
In this context all API methods are thread safe.

Please see https://www.dukascopy.com/wiki/#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