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.

My Indicator works on Demo but doesn't work on Live
 Post subject: My Indicator works on Demo but doesn't work on Live Post rating: 0   Post Posted: Wed 09 Oct, 2013, 11:56 

User rating: 0
Joined: Tue 16 Oct, 2012, 13:10
Posts: 17
Location: Russian FederationRussian Federation
Hi! I've problems with my indicator. When attached to the chartt on Demo everything fine, but when I try to add the my custom indicator to the chart on Live, I got next exception:
Exception in onStart method: java.lang.ClassNotFoundException: com.dukascopy.api.indicators.PeriodListDescription

Please advice!


 
 Post subject: Re: My Indicator works on Demo but doesn't work on Live Post rating: 0   Post Posted: Mon 14 Oct, 2013, 08:53 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
beamlight wrote:
java.lang.ClassNotFoundException: com.dukascopy.api.indicators.PeriodListDescription
The feature is available with JForex-API 2.9.1, while on LIVE the JForex-API version is 2.9.0.1


 
 Post subject: Re: My Indicator works on Demo but doesn't work on Live Post rating: 0   Post Posted: Fri 18 Oct, 2013, 06:39 

User rating: 3
Joined: Sat 04 May, 2013, 03:34
Posts: 33
Location: CanadaCanada
API Support wrote:
beamlight wrote:
java.lang.ClassNotFoundException: com.dukascopy.api.indicators.PeriodListDescription
The feature is available with JForex-API 2.9.1, while on LIVE the JForex-API version is 2.9.0.1



Shouldn't you be running the same API in Demo and Live so we know our strategies that we test in Demo will work exactly the same as in Live? I have also noticed the Jforex client is a different version in Demo than live, it is also a newer version.


 
 Post subject: Re: My Indicator works on Demo but doesn't work on Live Post rating: 0   Post Posted: Fri 18 Oct, 2013, 09:26 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
No it shouldn't.

Demo contains always the latest development, and it is almost impossible to completely test every new modification. And even with the Demo running a new API (and platform) release for weeks, it sometimes happen that a bug comes out when the release is pushed to the Live platform.
Think about the Demo platform as RC. You can use and test new features, but keep in mind it might contain bugs.

For such reason the Demo must be always running 'ahead' of Live.


 
 Post subject: Re: My Indicator works on Demo but doesn't work on Live Post rating: 0   Post Posted: Fri 18 Oct, 2013, 10:53 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
tcsabina,

Thank you for this answer!


 

Jump to:  

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