With reference to my earlier thread (http://www.traderji.com/software/32899-qtstalker-ubuntu-linux-its-working.html) I got requests from people to post this... So here goes...
OK...
So, here are the steps:
1. First install UBUNTU (Hardy 8.04) :thumb:
2. Add the following lines to the end of your /etc/apt/sources.list file
3. Then type the following commands in Terminal
This will get Qtstalker installed (latest version 0.36), and you'll be up and running in no time...
4. Now in the terminal do
This will installed php5-cli which required for bhavcopy downloads...
5. Now in put the attached php file in your home directory, and create a new folder called bhavcopy in your home directory. Our EOD quotes will get downloaded in this folder. In the attached php file replace "USERNAME" with your Linux username.
6. Now go to your home directory in terminal and issue the command
This will download all bhavcopy data files since 1st Jan 2007 till today.
It will take some time, so please be patient
You can replace 2007 with any year of your choice... I have tested Historical Data since 1996 and it works gr8 :thumb:
7. Now open QtStalker
Click on "Tools" then "Load Quotes"
Choose Quote Type as CSV
8. In the window that opens click on new rule
Type the new rule name as bhavcopy
9. In the windows that opens choose Symbol,Date:YYYYMMDD,Open,High,Low,Close,Volume exactly in this order from top to down...
10. Apply that and click ok...
11. Now click on the input button that says 0 Files (or maybe n Files)
12. Select the data files from the directory /home/YOURUSERNAME/bhavcopy
13. Set the date range (dl.php always downoads files from 1st Jan of a given year) and Click OK.
14. This would download and sync the data files with QtStalker
15. After this just enjoy the software
To keep yourself updated, load quotes every day...
1. Download quotes by giving the command
2. After the download finishes, open QtStalker. Click Tools -> Load Quotes
3. Select CSV
4. And then import the files in the exactly same way as described above (11. to 14.)
Hope this clears many doubts...
If you have questions please do ask...
Note:
Attached is the dl.zip containing dl.php file.
Extract and put the file in your home directory.
OK...
So, here are the steps:
1. First install UBUNTU (Hardy 8.04) :thumb:
2. Add the following lines to the end of your /etc/apt/sources.list file
Code:
deb [url]http://www.zwets.com/debs[/url] unstable/
deb-src [url]http://www.zwets.com/debs[/url] unstable/
Code:
$ sudo apt-get update
$ sudo apt-get install qtstalker libqtstalker0 qtstalker-quote-plugins build-essential
4. Now in the terminal do
Code:
$ sudo apt-get install php5-cli
5. Now in put the attached php file in your home directory, and create a new folder called bhavcopy in your home directory. Our EOD quotes will get downloaded in this folder. In the attached php file replace "USERNAME" with your Linux username.
6. Now go to your home directory in terminal and issue the command
Code:
$ php dl.php 2007
It will take some time, so please be patient
You can replace 2007 with any year of your choice... I have tested Historical Data since 1996 and it works gr8 :thumb:
7. Now open QtStalker
Click on "Tools" then "Load Quotes"
Choose Quote Type as CSV
8. In the window that opens click on new rule
Type the new rule name as bhavcopy
9. In the windows that opens choose Symbol,Date:YYYYMMDD,Open,High,Low,Close,Volume exactly in this order from top to down...
10. Apply that and click ok...
11. Now click on the input button that says 0 Files (or maybe n Files)
12. Select the data files from the directory /home/YOURUSERNAME/bhavcopy
13. Set the date range (dl.php always downoads files from 1st Jan of a given year) and Click OK.
14. This would download and sync the data files with QtStalker
15. After this just enjoy the software
To keep yourself updated, load quotes every day...
1. Download quotes by giving the command
Code:
$ php dl.php 2009
3. Select CSV
4. And then import the files in the exactly same way as described above (11. to 14.)
Hope this clears many doubts...
If you have questions please do ask...
Note:
Attached is the dl.zip containing dl.php file.
Extract and put the file in your home directory.