hello everyone please can someone help me with stock price prediction. That is I wrote this code and from the I vector , I want a code that will remove indexes from the I vector more than 60 seconds. Thanks
이전 댓글 표시
LSE_matrix =log(nstock_val); %log of the data
I=1:(size(LSE_matrix,1)-1); % selecting the indices of all prices but the last time when stock was opened
dLSE_col1 = LSE_matrix(I+1,1) - LSE_matrix(I,1);% log difference
댓글 수: 5
Geoff Hayes
2020년 7월 6일
Afua - how or where is time used in the above code? I see that you have valus for stock prices (?) but where is a time array?
Afua Amoako Dadey
2020년 7월 6일
Geoff Hayes
2020년 7월 6일
But what variable describes the time? How, from the above code, can we determine which stock index goes beyond 60 seconds?
Afua Amoako Dadey
2020년 7월 6일
jonas
2020년 7월 6일
Dont you think it would be easier if you upload a sample of the data?
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Financial Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
