Plot Stock Prices
Version 1.2.0.1 (2,43 KB) von
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)
Zitieren als
Malcolm Wood (2025). Plot Stock Prices (https://www.mathworks.com/matlabcentral/fileexchange/11699-plot-stock-prices), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2010a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Computational Finance > Financial Toolbox > Price and Analyze Financial Instruments >
- Computational Finance > Datafeed Toolbox > Financial Data >
Mehr zu Price and Analyze Financial Instruments finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.2.0.1 | Updated license |
||
1.2.0.0 | Added copyright lines and upgraded error handling to use the latest syntax. |
||
1.1.0.0 | Review |
||
1.0.0.0 |