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.

How to enable a java class independent from Istrategy to be used by a strategy
 Post subject: How to enable a java class independent from Istrategy to be used by a strategy Post rating: 0   New post Posted: Tue 24 Nov, 2015, 14:09 
User avatar

User rating: 0
Joined: Fri 20 Nov, 2015, 10:54
Posts: 5
Location: France,
Hello,

I'm working with JForex API.
I developped a class named Outils which is independant from IStrategy and iwhich contains basic static methods which should be used in the strategies I'll develop.
2 questions :

1) Should I have to compile the class Outils and how
2) Another subject : I got some Java code which allow me to denoise series but this code uses statements like
Quote:
import JSci.maths.wavelet.FWTCoef;

but Jforex' compilator doesn't find the library JSci.
How to specify the path of this library or where should I put it in order to compile the code ?

Thank you.


 
 Post subject: Re: How to enable a java class independent from Istrategy to be used by a strategy Post rating: 0   New post Posted: Thu 26 Nov, 2015, 09:19 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
There are two options:
1) develop strategies using IDE. This means that JForex API is imported into your project as external library.
https://www.dukascopy.com/wiki/#JForex_SDK
https://www.dukascopy.com/wiki/#Use_in_Eclipse

2) Include external jars using @Library annotation
https://www.dukascopy.com/wiki/#Include_libraries


 

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