Historical Volatility

버전 1.1.0.0 (2.2 KB) 작성자: Josiah Renfree
Calculates the annualized historical volatility for a stock over the previous N trading days.
다운로드 수: 4.5K
업데이트 날짜: 2010/10/15

라이선스 보기

This program calculates the annualized historical volatility for one or more stocks over a user-specified number of N trading days. The program uses daily closing prices in the calculations. If not specified, the program defaults to N=20 previous trading days.

The user may supply either a single ticker symbol or a cell array of ticker symbols. Using the supplied N, the program will then calculate the historical volatility for each stock.

In order to run the program, the function 'hist_stock_data.m' must be downloaded and stored in the same directory. This function may be found in my MathWorks File Exchange.

인용 양식

Josiah Renfree (2024). Historical Volatility (https://www.mathworks.com/matlabcentral/fileexchange/24811-historical-volatility), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14SP1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Financial Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Fixed error in date handling

1.0.0.0