Hi,
i write my code in Eclipse (making jar-file) and then using this jar-file
with the @Library Annotation in den JForex Strategy.
i would prefer to use the SingleJar, but i can not login there, i don't know
why. so i have to use the JForex Strategy to get my code running.
the problem is, that the IOrder does not have these methods. in eclipse, i
get the error messages when i write the methods manually:
- The method getProfitLossInPips() is undefined for the type IOrder
- The method getProfitLossInUSD() is undefined for the type IOrder
- The method getProfitLossInAccountCurrency() is undefined for the type IOrder
when i compile my char with this errors and try to start the strategy, i get
the same error message in JForex:
java.lang.Error: Unresolved compilation problems:
- The method getProfitLossInPips() is undefined for the type IOrder
- The method getProfitLossInUSD() is undefined for the type IOrder
- The method getProfitLossInAccountCurrency() is undefined for the type IOrder
so it seems, that i have an older IOrder object in my jar-library. yesterday,
i downloaded the actual JForexLibraryClient and used all the jars in my code,
but the IOrder does not have the required methods ... i don't know why

the import com.dukascopy.api.IOrder comes from JForex-API-SNAPSHOT.jar,
and if you open this jar in eclipse, you can look at the classes and IOrder
does not have the desired methods.
so my JForex-API-SNAPSHOT.jar library must be outdated, but it's the recent
jar in the JForexLibraryClient package ...