Stock Class

버전 1.6 (5.18 KB) 작성자: Jeffrey Kantor
An easy to use class to download, display, and plot stock information from Yahoo finance.
다운로드 수: 2.4K
업데이트 날짜: 2014/12/6

라이선스 보기

Use this simple, self-contained class definition to obtain quotes and historical data from Yahoo finance.
f = stock('f','5y','d);

creates a stock object with a current quote and five year history of daily data for the stock symbol 'f' (Ford Motor Company).

f.plot;

charts the historical data. The default disp(f) method returns current quote information.

disp(f);

Ford Motor Compan (NYSE:F)
-----------------------------------------------
Last Trade: 16.28 (4:01pm 11/19/2010)
Daily Change: 0.16 (0.99%)
Prev. Close: 16.12
Day Open: 16.02
Day Range: 15.83 - 16.38
52wk Range: 8.40 - 17.42
P/E 8.53
Dividend Yield N/A

Daily Price History: 21-Nov-2005 to 19-Nov-2010
------------------------------------------------
Volatility: 60.40% (annualized)
Mean Log Return: 14.09% (annualized)

Additional properties and methods provide access to wide range of data for the selected stock. The individual objects may be stored in structure arrays to track investment portfolios.

인용 양식

Jeffrey Kantor (2026). Stock Class (https://kr.mathworks.com/matlabcentral/fileexchange/29449-stock-class), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2010b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Financial Toolbox에 대해 자세히 알아보기
커뮤니티
 Power Electronics Control 커뮤니티에 더 많은 파일이 있습니다
버전 게시됨 릴리스 정보
1.6

Update to the new Matlab Toolbox format.

1.2.0.0

Added a more informative disp method, and additional properties.

1.0.0.0