Error 047 - Not enough bars even though data is available

Posted By: Dalla

Error 047 - Not enough bars even though data is available - 06/22/17 06:25

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?
Posted By: GreenBoat

Re: Error 047 - Not enough bars even though data is available - 06/22/17 08:26

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.
Posted By: jcl

Re: Error 047 - Not enough bars even though data is available - 06/22/17 10:31

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.
Posted By: Dalla

Re: Error 047 - Not enough bars even though data is available - 06/22/17 12:39

Great! Downloading 1.59.5 solved the issue :-)
Posted By: Dalla

Re: Error 047 - Not enough bars even though data is available - 06/29/17 15:02

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.
Posted By: jcl

Re: Error 047 - Not enough bars even though data is available - 06/30/17 08:14

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.
© 2024 lite-C Forums