이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
change variable when difference between 2 rows
조회 수: 1(최근 30일)
I have a variable matrix, one column is datetime, I want to change a variable called lastdayclose to the previous days close price.
eg: matrix has 2 columns
so I want to loop through the array and pickup the close of yesterday and assign it to the variable lastdaysclose each time there is a new day: