Real-Time Stock Viewer
Note de l’éditeur : This file was a File Exchange Pick of the Week
Using MATLAB TIMER objects, this demo either downloads or creates market prices and plots the results automatically at a desired frequency.
If the Datafeed Toolbox is available, you can download market data from Bloomberg (with a license) or Yahoo to analyze stock prices as they change. If not, random prices can be created.
As the data is updated, the demo will determine if the price has risen, lowered, or stayed the same. If it has risen, the price will be plotted as green. If it has lowered, it will be plotted as red. If it is unchanged, it will be blue.
This demo should help users become familiar with TIMER objects, and can be used as a template for creating more realistic and advanced "real-time" trading applications.
There are different command line files for each data source ? Bloomberg, Yahoo, random ? and a GUI that combines all three.
If you want to learn the basics of TIMERs, the command line files are probably the best place to start.
Citation pour cette source
Ameya Deoras (2024). Real-Time Stock Viewer (https://www.mathworks.com/matlabcentral/fileexchange/5784-real-time-stock-viewer), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Computational Finance > Datafeed Toolbox > Financial Data >
- Computational Finance > Datafeed Toolbox > Financial Data > Bloomberg Desktop >
Tags
Remerciements
A inspiré : Scrolling display
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.5.0.1 | Updated license |
||
1.5.0.0 | Updated to include an App file for R2012b. |
||
1.3.0.0 | Updated the ReadMe files |
||
1.2.0.0 | Updated the ReadMe file, added a BSD license. |
||
1.0.0.0 | The connection to Bloomberg wasn't taken care of properly, and therefore didn't work. |