Rank: 193972 based on 0 downloads (last 30 days) and 0 file submitted
photo

Jorge

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Jorge
Updated File Comments Rating
20 Oct 2011 Algorithmic Trading with MATLAB - 2010 Files from the November 18, 2010 webinar. Author: Stuart Kozola

I am having difficulty trying to load my own high frequency data in line 181 of AlgoTradingDemo1.m. I get the following error message:
??? Error using ==> movavg at 41
Lead and lag arguments must be positive <= 23.
I believe the error stems from line 39 of movavg.m:
r = length(asset);
somehow, input 'asset' is being passed as zero to function movavg. I notice that when bund1min.mat is loaded using the load function, it automatically generates a variable 'data'. When I load my own .mat file, it does not generate a 'data' variable. Could this be the problem?

Contact us