How to fetch TSX financial data or other exchange data
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to fetch TSX financial data or other exchange data using datafeed toolbox. It is nice and simple for major stocks, but when it comes to stocks on different exchanges like NASDAQ, TSX, etc. it becomes more complicated and there is no help about it. For example if I want to retrieve MLF-UN.TO, what should I write in the fetch command? Thank you
0 commentaires
Réponses (1)
Kawee Numpacharoen
le 2 Nov 2016
Modifié(e) : Kawee Numpacharoen
le 2 Nov 2016
In case of yahoo finance, you can simply use 2 lines of code here
>> c = yahoo;
>> price = fetch(c,'MLF-UN.TO')
price =
struct with fields:
Symbol: {'MLF-UN.TO'}
Last: 8.41
Date: 736636.00
Time: 0.58
Change: -0.10
Open: 8.50
High: 8.50
Low: 8.41
Volume: 6369.00
0 commentaires
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!