Dukascopy
 
 
Wiki JStore Search Login

Is anyone using Dukascopy sdk to run and develop strategy!
 Post subject: Is anyone using Dukascopy sdk to run and develop strategy! Post rating: 0   New post Posted: Wed 21 Feb, 2024, 13:25 
User avatar

User rating: 0
Joined: Sun 26 May, 2013, 12:18
Posts: 40
Location: India,
I am trying to use Dukascopy SDK available here:
https://www.dukascopy.com/wiki/en/development/get-started-api/use-jforex-sdk/download-jforex-sdk/


I am able to run the main function in the Main.java but having problem trying to trade. Here's the log:

Quote:

2024-02-21 17:59:27.318 INFO Main - Connecting...
.............

Strategy "SimpleTpSlStrategy" Strategy ID: EFA91C3A5DC128A8FE14EBAE385D88CD is started at 2024-02-21 12:29:37.644 GMT on the local computer with parameters: Instrument=EUR/USD, Amount=0.001, Stop loss=10, Take profit on loss=10, Take profit on profit=5
Order REJECTED: BUY EUR/USD, REASON: EUR/USD currently is not tradable
2024-02-21 17:59:38.797 WARN JForexEngineImpl - Order REJECTED: BUY EUR/USD, REASON: EUR/USD currently is not tradable
2024-02-21 17:59:38.798 INFO Main - Strategy started: 50
2024-02-21 17:59:42.253 DEBUG ActivityLogger - jah : [{"datumType":"message","message":"Strategy \"SimpleTpSlStrategy\"


Would be great if I could find a resources that could show step by step how to implement a trading strategy using the SDK.

Thanks


 

Jump to:  

  © 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