Plot Stock Prices
Versión 1.2.0.1 (2,43 KB) por
Malcolm Wood
Retrieves and plots historical stock prices
A very simple function which uses the DataFeed toolbox to retrieve stock prices for a specified number of days from the Yahoo service and plots them.
e.g. to see how your Microsoft shares have done over the last three months, just type:
>> show_chart('MSFT',90)
Citar como
Malcolm Wood (2024). Plot Stock Prices (https://www.mathworks.com/matlabcentral/fileexchange/11699-plot-stock-prices), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2010a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Computational Finance > Financial Toolbox > Price and Analyze Financial Instruments >
- Computational Finance > Datafeed Toolbox > Financial Data >
Más información sobre Price and Analyze Financial Instruments en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.