Finally, I managed to import data into FCharts. The URL in the FC built-in downloader connects to yahoo and data was not coming in from there any more. So I used another source recommended in this forum (
http://trader.e2uhosting.net) and rebuilt the
Backfill link to get data from there.
I am describing below the method I used successfully for NSE data:
First -- ticker symbols have to be in place.
Method:
step 1. Save the attached file,
nsetickers.txt to the FCharts folder and rename it as
nsetickers.csv -- this file contains almost all NSE equity tickers. If need to add to this list or reduce from this list, one can save a copy of the above file with a new name e.g. "watchlist.csv", and edit it as required and save.
step 2. Click "Import Export" button on left in the FCharts program.
step 3. Click "Import" tab ==> "Ticker Length" Min: -- enter
2 Max: -- enter
12
step 4. Click "Other" tab.
step 5. Click "Import Tickers" button.
step 6. Browse to the "FCharts" folder & Select the file, "nsetickers.csv" OR "watchlist.csv" (as desired) and click "Open".
NOW TICKERS ARE IMPORTED INTO FCHARTS.
Second -- import historical data into FCharts.
Method:
step 1. Click "Import Export" button on left in the FCharts program.
step 2. Click "Backfill" tab.
step 3. Click "Edit URL" at the bottom -- This will highlight the download URL on top in blue.
step 4. Copy/Paste the following complete URL in its place:
http://trader.e2uhosting.net/scripts/historical.php?ex=nse&s=@@@&sm=01&sd=01&sy=2003&em=01&ed=19&ey=2006&f=yahoo&cl=average
-
(make sure there are no blank spaces in the above url string after u paste it.)
This will get NSE historical data from 01/01/2003 to 01/19/2006 (specified start & end dates in
mm/dd/yyyy format) from a site called trader.e2uhosting.net. Can change Start date & End date by choice.
e.g.
If need START date to be say:
May-07-2003, need to make small changes in the abpve URL b4 using it:
&sm=01&sd=01&sy=2003 should be
changed to:
&sm=05&sd=07&sy=2003
(EXPLANATION: sm = start month; sd = start date; sy = start year)
If need END date to be say:
Oct-07-2005, u need to make small changes in the abpve URL b4 using it:
&em=01&ed=19&ey=2006 should be
changed to:
&em=10&ed=07&ey=2005
(EXPLANATION: em = end month; ed = end date; ey = end year)
step 5. In the box, "Start Letter" put
A. In the box, "End Letter" put
Z -- this will download historical data for all tickers with names starting with
A to tickers with names starting with
Z.
One can choose range as required.
e.g.
If one needs tickers from
M to
R, one can put those letters as first & last.
It is also possible to d/load data for even one company
e.g.
if data of just RELIANCE required, enter the ticker RELIANCE in both start letter & end letter boxes. These boxes will take
max. 5 letters. RELIANCE will show as
RELIA. That's fine.
step 6. "Ignore Ticker" box -- If need to exclude data for certain companies (from within the specified data range) from the download, u shud enter those tickers sepetated by spaces, in the "Ignore Ticker" box,
e.g. entering --
ALBK BEL ESCORTS MTNL-- will exclude data for these specified tickers from the download (u don't need to mention ignore tickers falling outside data range, because they are excluded any way.
e.g. if u r dloading from
B to
G no need to mention ALBK & MTNL)
step 7. Remaining boxes -- do nothing, ignore the dates as they are already built into the Backfill URL.
Step 8. Click
Start Download (Internet shud be connected b4 clicking)
step 9. W..A..I..T.. for the download to complete.
Time taken will depend on the size of the data range u hv specified and your internet connection speed. It cud take a few minutes to several hours. It makes sense to first do a test by dloading data for just one company. If everything went ok, one can see the chart of that company. If satified one can proceed with more downloads.
NOW HISTORICAL DATA IS IMPORTED INTO FCHARTS. ONE CAN SEE THE CHARTS.
Every evening need to download EOD data file, save it to a convenient location on the comp, and import it into FCharts to keep it updated.
I mostly use this source:
http://trader.e2uhosting.com/bhavcopy.php?ex=nse
Can also d/load from NSE using this URL:
http://www.nseindia.com/bhavcopy/BhavHandler?segment=0
The columns needed for import into FCharts are:
SYMBOL DATE OPEN HIGH LOW CLOSE VOLUME
This link gives the columns exactly as required:
http://trader.e2uhosting.net/bhavcopy.php?ex=nse
EOD data from NSE comes with these colomns:
SYMBOL SERIES OPEN HIGH LOW CLOSE LAST PREVCLOSE TOTTRDQTY TOTTRDVAL TIMESTAMP
Need to change 2 column heads and leave the rest as is.
CHANGE:
TOTTRDQTY to
VOLUME
TIMESTAMP to
DATE
Now the file can be used for importing EOD data into FCharts.
EOD Data Import method:
step 1. Click "Import Export" button on left in the FCharts program.
step 2. Click "Import Price Files" button (on "Import" tab)
step 3. Select the EOD data file to be imported (usually of current day) and click "Open"
NOW FCHARTS IS UPDATED WITH CURRENT DAY'S DATA.
Once thru with the basics many more questions will arise. The programme has good help files and there's a good discussion forum on the Spacejock site. One can also write to the programme developer, Simon Haynes who is a very nice and helpful man. His email address is:
[email protected]
Cheers.