LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default nse website query

please see the following link

http://www.nseindia.com/content/equi...iphistdata.htm

the site generates historical data of price and volume based on various
inputs as follows: scrip code, start date and end date. suppose we choose
scrip code as ACC and start date as Jan 1, 2008 and end date as April 1,
2008. the site generates a file whose name is based on the inputs and can be
downloaded from the following url:

http://www.nseindia.com/content/equi...2008ACCEQN.csv

It is easy to write a code to generate the URL for a particular stock and
period for which data is required. for example i want to download ACC data
from Jan 1 2008 to March 1, 2008 the URL will be as under:

http://www.nseindia.com/content/equi...2008ACCEQN.csv

but the problem is if we try to staight away download this file, it is not
found on the server. reason is simple, the site generates the file based on
the query run. thus when "get results" button is pressed, the file is
generated. thereafter the above link will work and i can download the
required file.

now my query is can we write code to make the website run query based on
inputs entered in excel sheet and generate the file on the server and then
download the same

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Web Query for Java Applet driven data website mingInv Excel Discussion (Misc queries) 1 August 25th 10 06:14 AM
website prevents excel import web query steven Excel Discussion (Misc queries) 0 March 2nd 10 02:00 PM
inporting data from website where website address frequently chang HP Excel Programming 3 June 24th 07 03:50 PM
"New Web Query" always refreshes data from website (3 times) Matt Suppa Excel Worksheet Functions 1 February 1st 06 05:50 PM
How do I query a website bill Excel Programming 2 February 22nd 05 05:53 AM


All times are GMT +1. The time now is 03:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"