Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, rki), 390 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Lookback error on DeepLearn #470477
01/17/18 00:27
01/17/18 00:27
Joined: May 2016
Posts: 5
Madrid
E
ealvarpe Offline OP
Newbie
ealvarpe  Offline OP
Newbie
E

Joined: May 2016
Posts: 5
Madrid
I´m trying to modify the DeepLearn script to include external timeseries that could add new ways to explode this capability.
I have a timeseries downloaded from Quandl that it´s not daily but a sentiment value changing every few days.
The signal that I´m adding to the adviseLong function is just a simple return of the quandl series on that moment, scaled to 100.
The problem is that when I try to train the script I always get the error:

Error 046: MIN LookBack exceeded by 19 bars (99)
Error 014: MIN needs LookBack 99 > 80!
Error 014: MIN needs LookBack 99 > 80!

The LookBack is set to 100, and I´ve tried with higher values, but I keep getting that error.
Anyone knows what it could be?

The timeseries is retrieved from a csv downloaded in Quandl with:

Code:
vars QuandlSeries = series(dataFromCSV(100,"%Y-%....);
vars NQuandlSeries = series(normalize(QuandlSeries[0],100));



and then used on the adviseLong function like:

Code:
if((vLong = adviseLong(NEURAL+BALANCED,0, NQuandlSeries[1])) > Threshold)



The rest of the script is just the one coming with the default zorro installation.

Does anyone know how to add this external timeseries to the deeplearning algorithm so it can be trained and used?

Re: Lookback error on DeepLearn [Re: ealvarpe] #470479
01/17/18 05:21
01/17/18 05:21
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
Did you try using the dataFromQuandl function? That function seems to load the Quandl data only after the lookback period.

Check here
http://zorro-project.com/manual/en/data.htm

Re: Lookback error on DeepLearn [Re: Dalla] #470480
01/17/18 08:59
01/17/18 08:59
Joined: May 2016
Posts: 5
Madrid
E
ealvarpe Offline OP
Newbie
ealvarpe  Offline OP
Newbie
E

Joined: May 2016
Posts: 5
Madrid
It's suppose to be only available with Zorro S, that it's not my case. I just wanted to test it properly before thinking on the purchase.
Any way to do the same with the dataFromCSV function?

Re: Lookback error on DeepLearn [Re: ealvarpe] #470481
01/17/18 09:38
01/17/18 09:38
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
If you check the link I sent, at the bottom you find the actual source code for dataFromQuandl. Just adopt to your need

Re: Lookback error on DeepLearn [Re: Dalla] #470483
01/17/18 10:27
01/17/18 10:27
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
A higher lookback period is not needed for data from Quandl, but probably for your normalize() call.

You won't have luck with your advise call either. You cannot train a neural net with a single feature.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1