Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Is anyone using Dukascopy sdk to run and develop strategy!
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=146&t=58739
Page 1 of 1

Author:  mrlfx [ Wed 21 Feb, 2024, 13:25 ]
Post subject:  Is anyone using Dukascopy sdk to run and develop strategy!

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

  Page 1 of 1