GetStockData.m

Version 1.0.0.0 (2.95 KB) by Justin
Reference the results of OShaughnessey_v5.m
689 Downloads
Updated 2 Jun 2014

View License

GetStockData is designed to work with the outputs of the OShaughnessey.m stock valuation script. It is a simplified way to recall and display data for any given ticker symbol. Additionally, not specifying a ticker - i.e. calling GetStockData - will return the outputs of OShaughnessey.m.
Example:
Recall the data for Apple, Inc. Stock ticker 'AAPL'.
GetStockData('AAPL')
returns:

Ticker Symbol: AAPL, $530.38
Apple Inc.
P/E: 12.93 P/E Rank: 76.4101
P/S: 3.48 P/S Rank: 32.3465
P/B: 4.84 P/B Rank: 32.3465
P/fcf: 11.12 P/fcf Rank: 88.6725
Div: 0% Div Rank: 19.7414
EV/EBITDA: 8.78 EV/EBITDA Rank: 61.3898
6 month price momentum: 37.84%
Overall Rank: 300.4674 Percentile: 48.551%

Cite As

Justin (2024). GetStockData.m (https://www.mathworks.com/matlabcentral/fileexchange/46817-getstockdata-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Financial Data Analytics in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0