Read the body of the response from the server. HttpWebResponse webresp = (HttpWebResponse)webreq.GetResponse() Get the response from the Internet resource. HttpWebRequest webreq = (HttpWebRequest)WebRequest.Create(StockQuoteUrl) Going to Put Google Finance here when I Figure it out. StockQuoteUrl = + YahooSymbolString + "&ql=1" String YahooSymbolString = Symbols.Replace(",","+") Use Yahoo finance service to download stock data from Yahoo Where Symbols = a comma-delimited string of symbols, or just one symbol public string YahooStockRequest(string Symbols,bool UseYahoo=true) Happy Symbol Hunting.Ĭall the procedure by using YahooStockRequest(string Symbols) You will need the HTMLAgilityPack, Which is awesome. Havent got Google Finance yet, but Here is the Yahoo Example. Ht= IE.document.getElementById("market-data-div").innerText While IE.readyState = 4: WScript.Sleep 10: wend I have created a vbscript that is using IE object to fetch details from the link, and alerts the content in the particular id(Create a. To know the details of volume and other details, Please refer this old post I think this will help, I think this should be it, else you want same in JSON notations the same as Microsoft The simplest way as you have explained is this link this is for
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |