Another project I've been working on is downloading End of Day ASX stock quotes from yahoo finance and loading these up on Metatrader 4 charts. What is required here is the installation of perl on your machine in order for things to work. I think from memory you can download and install Active Perl or Strawberry Perl on your Windows Machine. Anyway I will start this first post with the downloading of quotes (Stage 1).
I have attached 2 files called "yhquotes.pl" and "symlist.csv". So basically "yhquotes.pl" is a perl script that reads the stock symbols/tickers from symlist.csv file and downloads all quotes into a single file called "quotes.csv".
"quotes.csv" follows the format of symbol, date, open, high, low, close and volume.
If you have installed perl correctly, you should be able to double click on the file "yhquotes.pl" to execute the script. For illustrative purposes I have uploaded a screen shot of what to do if you were to use the command line:
So if your were to execute script yhquotes.pl, it should create a file called quotes.csv.
Important Note: I had to add a .txt extension to upload the files as .pl and .csv is not allowed. Please remove the .txt extension for this to work
I have attached 2 files called "yhquotes.pl" and "symlist.csv". So basically "yhquotes.pl" is a perl script that reads the stock symbols/tickers from symlist.csv file and downloads all quotes into a single file called "quotes.csv".
"quotes.csv" follows the format of symbol, date, open, high, low, close and volume.
If you have installed perl correctly, you should be able to double click on the file "yhquotes.pl" to execute the script. For illustrative purposes I have uploaded a screen shot of what to do if you were to use the command line:
So if your were to execute script yhquotes.pl, it should create a file called quotes.csv.
Important Note: I had to add a .txt extension to upload the files as .pl and .csv is not allowed. Please remove the .txt extension for this to work