Dukascopy
 
 
Wiki JStore Search Login

JFOREX-3372 Message in strategy on account expiration
 Post subject: JFOREX-3372 Message in strategy on account expiration Post rating: 0   New post Posted: Wed 07 Dec, 2011, 11:57 

User rating: 0
Joined: Tue 22 Nov, 2011, 12:47
Posts: 130
Location: United States,
I'm running in Stand Alone mode (running Main.java from the SDK with the default MA_Play strategy)

For some reason my onTick breakpoint is stopping only once. After that - nothing happens. No error.

Also feed registrations are being ignored all together - my onBar is never get called.

I'm using java 1.6.0_26 on Mac.

On PC (yesterday) everything worked just fine.

Any clue?

You help is appreciated,

cb888trader.


 
 Post subject: Re: urgent help Post rating: 0   New post Posted: Wed 07 Dec, 2011, 12:06 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
We were not able to reproduce the issue, find the program and the strategy in attachments. Mind, to change the username and password.


Attachments:
MainRangeBars.java [4.92 KiB]
Downloaded 343 times
TicksAndRangeBars.java [1.18 KiB]
Downloaded 329 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: urgent help Post rating: 0   New post Posted: Wed 07 Dec, 2011, 13:04 

User rating: 0
Joined: Tue 22 Nov, 2011, 12:47
Posts: 130
Location: United States,
hi support,

I found the problem - my demo account was expired. With my new account all is good.

Shouldn't the API throw some proper message?

Anyway - back to work :)


 

Jump to:  

  © 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