
% Daily prices of NVDA from 2015-04-01 to 2018-04-01 
% (adjusted close, from Yahoo Finance)
load('NVDA20152018.mat');
St = NVDA20152018.AdjClose;

figure;
plot(St);

%%
figure;
subplot(3,2,1);
plot(St);
subplot(3,2,2);
plot(log(St / St(1)));

logRets = diff(log(St));

subplot(3,2,3);
hist(logRets, 50);
subplot(3,2,4);
qqplot(logRets);

clLogRets = logRets(abs(logRets) < 0.05);

subplot(3,2,5);
hist(clLogRets, 25);
subplot(3,2,6);
qqplot(clLogRets);
