clear; clc;

[~, ~, raw] = xlsread("twse_all.xlsx");
raw(1, :) = [];
P = [raw{:, 2}];
Dates = raw(:, 1);
return_rates = (P(2 : end) - P(1 : end - 1)) ./ P(1 : end - 1);

mask = return_rates >= 0.06 | return_rates <= -0.06;
Dates(mask)



