Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by 7th_zorro. 04/16/24 13:19
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (rki, Ayumi), 475 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Error 047 - Not enough bars even though data is available #466579
06/22/17 06:25
06/22/17 06:25
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
I'm running into error 047 - Not enough bars, when trying to start a system I recently developed.

I'm using PRELOAD, and I have downloaded M1 data from Oanda up until 2017-06-20 using the Download script, so just two days missing. My issue now is that even though the last two days prices ARE available on the history server, I'm getting

Code:
Login IG... at UTC 06-22 04:35
Load USD/JPY prices.. 7740+74 h
V 1.580 on Thu 17-06-22 07:24:58
Error 047: not enough bars (74 missing)
Logout.. ok



Since I'm the developer of the IG plugin, I have double checked and can see that the prices are indeed returned.

I also tried to use the Download script again two download the last two days, using both IG and Oanda, but it looks like it's not even trying to download the missing data.

Example output from IG using download script

Code:
Login IG... at UTC 06-22 05:29
Download...
Load AssetsFix
USD/JPY 2017 complete
Ok
V 1.580 on Thu 17-06-22 07:29:54
No bars generated
Quit
Logout.. ok


Any suggestions on next steps?

Last edited by Dalla; 06/22/17 06:26.
Re: Error 047 - Not enough bars even though data is available [Re: Dalla] #466584
06/22/17 08:26
06/22/17 08:26
Joined: Nov 2016
Posts: 66
GreenBoat Offline
Junior Member
GreenBoat  Offline
Junior Member

Joined: Nov 2016
Posts: 66
I don't have a solution for you, but I was getting the same error "not enough bars" when I was trying to use some script with the new Zorro Google download option.

I had to download the data from Google by separate script from Financial Hacker and then it was working. I don't know why it wasn't working the first time.

Re: Error 047 - Not enough bars even though data is available [Re: GreenBoat] #466593
06/22/17 10:31
06/22/17 10:31
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Check if it still happens with the new beta version, 1.59.5. If so, check if it still happens when you edit MinutesPerDay and set it to the real daily trading time of the asset. If this still does not help, please contact support with your script. They'll look into it.

Re: Error 047 - Not enough bars even though data is available [Re: jcl] #466598
06/22/17 12:39
06/22/17 12:39
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
Great! Downloading 1.59.5 solved the issue :-)

Re: Error 047 - Not enough bars even though data is available [Re: Dalla] #466730
06/29/17 15:02
06/29/17 15:02
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
Strangely enough, this started happening again after upgrading to 1.59.6.
I tried setting MinutesPerDay to 1440, but that causes Zorro to crash without any trace of why.

Re: Error 047 - Not enough bars even though data is available [Re: Dalla] #466738
06/30/17 08:14
06/30/17 08:14
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
I do not get that message here, but maybe it's something in the script. Can you contact support (at) opgroup.de and send the script? They'll check.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1