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.

Possible to create and run multiple ITesterClient in a same JVM?
 Post subject: Possible to create and run multiple ITesterClient in a same JVM? Post rating: 0   New post Posted: Tue 05 Apr, 2022, 08:46 

User rating: 0
Joined: Tue 28 Jan, 2020, 03:34
Posts: 4
Location: SwazilandSwaziland
Hello,
I'd like to know if it's possible to create Multiple ITesterClient instance in a JVM, so I can run multiple backtest in parallel, for each ITesterClient I have one account and run one strategy. I tried that but got below exception:

[ERROR] 2022-04-05 15:36:19,884 --(NettyTransportClient-0) TransportClientAuthEventExecutorThread - 0-- [com.dukascopy.dds4.transport.cli
ent.netty.ClientProtocolHandler] [NettyTransportClient-0] null
java.lang.NullPointerException: null
        at com.dukascopy.api.impl.connect.TesterClientImpl$3.disconnected(TesterClientImpl.java:306)
        at com.dukascopy.dds4.transport.client.netty.ClientProtocolHandler$5.run(ClientProtocolHandler.java:309)
        at com.dukascopy.dds4.common.orderedExecutor.OrderedThreadPoolExecutor$ChildExecutor.run(OrderedThreadPoolExecutor.java:594)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:750)


 

Jump to:  

cron
  © 1998-2024 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