Dukascopy
 
 
Wiki JStore Search Login

JSON decoding error: 4
 Post subject: JSON decoding error: 4 Post rating: 0   New post Posted: Wed 17 Jul, 2013, 01:58 

User rating: 1
Joined: Tue 11 Jun, 2013, 15:40
Posts: 29
Location: Russian FederationRussian Federation
Cant build the strategy - gives:
JSON decoding error: 4


 
 Post subject: Re: JSON decoding error: 4 Post rating: 0   New post Posted: Wed 17 Jul, 2013, 12:00 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Hello.

Can you post the steps how you received the problem.
And strategy example would be useful.
Thanks in advance.


 
 Post subject: Re: JSON decoding error: 4 Post rating: 0   New post Posted: Wed 17 Jul, 2013, 18:33 

User rating: 1
Joined: Tue 11 Jun, 2013, 15:40
Posts: 29
Location: Russian FederationRussian Federation
vadim_berezhnoj wrote:
Hello.

Can you post the steps how you received the problem.
And strategy example would be useful.
Thanks in advance.


Here us the simple strategy.
Just try to build it and you get this error.


Attachments:
JSON.vfs [28.8 KiB]
Downloaded 479 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.
 
The Best Answer  Post subject: Re: JSON decoding error: 4 Post rating: 0   New post Posted: Thu 18 Jul, 2013, 09:55 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Now I catch the error. Thank you for contribution.
Working on it. Will be fixed ASAP.


 
 Post subject: Re: JSON decoding error: 4 Post rating: 0   New post Posted: Mon 22 Jul, 2013, 21:51 

User rating: 1
Joined: Tue 11 Jun, 2013, 15:40
Posts: 29
Location: Russian FederationRussian Federation
vadim_berezhnoj wrote:
Now I catch the error. Thank you for contribution.
Working on it. Will be fixed ASAP.


When this problem will be solved?
I can`t build any of my strategies...


 
 Post subject: Re: JSON decoding error: 4 Post rating: 0   New post Posted: Tue 30 Jul, 2013, 19:32 
User avatar

User rating: 11
Joined: Tue 05 Feb, 2013, 10:39
Posts: 104
Location: Romania, Iasi
Any news on solving this problem ?
It's been a while and no more news...

Cheers


 
 Post subject: Re: JSON decoding error: 4 Post rating: 0   New post Posted: Wed 31 Jul, 2013, 11:09 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Fixed in new version.
Update is coming next week.


 
 Post subject: Re: JSON decoding error: 4 Post rating: 0   New post Posted: Wed 31 Jul, 2013, 12:20 
User avatar

User rating: 11
Joined: Tue 05 Feb, 2013, 10:39
Posts: 104
Location: Romania, Iasi
vadim_berezhnoj wrote:
Fixed in new version.
Update is coming next week.


TY for the reply.

Cheers


 
 Post subject: Re: JSON decoding error: 4 Post rating: 0   New post Posted: Fri 09 Aug, 2013, 21:26 
User avatar

User rating: 11
Joined: Tue 05 Feb, 2013, 10:39
Posts: 104
Location: Romania, Iasi
vadim_berezhnoj wrote:
Fixed in new version.
Update is coming next week.


"Next week" already over and no news.
What's going on guys ?
Any ETA on the fix ?

Thanks


 
 Post subject: Re: JSON decoding error: 4 Post rating: 0   New post Posted: Wed 14 Aug, 2013, 21:13 

User rating: 1
Joined: Tue 10 Jul, 2012, 11:51
Posts: 25
Location: Czech Republic,
Hi, here is another very simple strategy with just one simple calc. expression that causes the same problem when compiling.
The problem remains even when I divide the calc. expression into two single calculations. Hope it helps.

the strategy should move SL into BE+1pip when P/L of the position reaches 5 pips.
Please help


Attachments:
MoveSLtoBEplusXPips.vfs [27.32 KiB]
Downloaded 480 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: JSON decoding error: 4 Post rating: 0   New post Posted: Thu 15 Aug, 2013, 08:21 
Visual JForex expert at Dukascopy
User avatar

User rating: 27
Joined: Fri 03 May, 2013, 18:25
Posts: 366
Location: GermanyGermany
Hello!

I know that it seems to be annoying but please try to avoid the calculation expression in order to not getting the JSON error. This JSON error seems to be very tricky and the developers are on it.


As I have seen in the strategy please use two calculation blocks instead of one calc.expression block. Then it should work!

I am sorry for the inconvenience!


 
 Post subject: Re: JSON decoding error: 4 Post rating: 0   New post Posted: Wed 04 Sep, 2013, 15:22 

User rating: 0
Joined: Wed 10 Jul, 2013, 22:49
Posts: 24
Location: Slovakia, Bratislava
first file skuska1 compile ok and after add get historical candle to strategy and json error 4


Image
Image


Attachments:
error 4.png [296.95 KiB]
Downloaded 609 times
Error 2032.png [281.41 KiB]
Downloaded 624 times
skuska1.vfs [26.39 KiB]
Downloaded 346 times
skuska.vfs [22.46 KiB]
Downloaded 345 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: JSON decoding error: 4 Post rating: 0   New post Posted: Sat 07 Sep, 2013, 06:19 
User avatar

User rating: 7
Joined: Tue 28 Feb, 2012, 09:45
Posts: 45
Location: JapanJapan
I can't use a variable.
Image

But, not use a variable.
Then I can build.
Image
Why??

P.S.
How to I can get a number like "engine.getOrders().getSize()"?
I don't need "engine.getOrders(Instrument instrument).getSize()".

Kind Regards,


Attachments:
Successfully Manager_Default.vfs [44.84 KiB]
Downloaded 312 times
Erro Manager_Default.vfs [44.76 KiB]
Downloaded 309 times
successfully.JPG [50.76 KiB]
Downloaded 578 times
error4.JPG [51.41 KiB]
Downloaded 549 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.
 

Jump to:  

  © 1998-2024 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