View Full Version : Grabbing stock quotes and posting them to web page?
artslave
02-19-2002, 04:40 AM
I posted this to the ASP forum because that's the key service my server provides and I'm in the process of teaching myself ASP.NET but I'm willing to consider other solutions like CGI, XML or others. PHP is the only service I know for sure that isn't available on my server.
I need to post stock quotes, I was wondering if anyone here could point me in the right direction. I've snooped around a couple of financial websites (MSN Money to name one) but have come up empty so far. All I'm looking for is the current stock price (or 15-20 min delay)
msft: 60.23
cibc: 12.13
I'm not looking for detailed instruction, just point me in the direction of a service, website or software that will give me what I'm looking for.
Thanks
verifier
02-19-2002, 05:50 AM
you can do it but parsing the html for a site that have it.
else you have to pay for the service..
artslave
02-19-2002, 06:45 AM
Looks like I need more hand holding than I thought...
I'm not familiar with the term parsing.
As I pointed out I'm just learning ASP and I have no other advanced programming skills (beyond simple HTML and a little JavaScript). I'm an artist and designer not a programmer.
You wouldn't happen to have any links to "pay for service"?
verifier
02-19-2002, 06:58 AM
Sorry. I do not know where you can buy that service.
Parsing is when you get a webpage from another site, remove all html that you dont want and show the wanted parts on your webpage.
Nafae
02-19-2002, 01:06 PM
have you tried yahoo or perhaps AOL's stock service? I know even AIM (AOL Instant Messenger) has a Stock Service :smug: so it shouldn't be too hard to find current stock prices. I can grab some URL's as soon as I get home.
Nafae
02-19-2002, 04:08 PM
http://www.bcentral.com/news.asp?cobrand=msn&LID=45 - MSN Business area
http://aol5.marketwatch.com/news/story.asp?column=Market%20Snapshot&siteid=aol - CBS Marketwatch
http://finance.yahoo.com/ - Yahoo Stock Finance Area
:shocked: Hope that helps!
artslave
02-19-2002, 06:44 PM
Thanks verifier & Nafae,
I think I've got this figured out now.
Parsing may be the answer. If not I see Yahoo Finance supplies a link to a spreadsheet that should give me exactly what I need.
R3FLUX
02-19-2002, 08:11 PM
artslave is their a way i can contact you? via im service?
artslave
02-19-2002, 08:14 PM
My email address should be in my profile.
I don't have im, if it's important I could reinstall it.
I did have MSN Messanger for a while but it made WinME unstable. (hell booting ME makes it unstable ;))
R3FLUX
02-20-2002, 02:34 PM
o ok just wondering, was just going to drop a line and say hey. sorry bout the off topic post but i actually have an ASP question...wahts its major function, like what defines it from php, xml, html and other coding languages?
artslave
02-21-2002, 04:54 AM
I wish I could give you a straight answer to that question but I'm just learning these things myself right now.
The X in XML stands for Extendable. It's like HTML except you are able to create your own tags. ASP and PHP give instructions to the server when a browser requests the page. The server then build the requested information and adds it to the page in the form of HTML. ASP, PHP and XML all work in tandem with HTML.
verifier
02-21-2002, 05:09 AM
sorry. XML is not like html. XML is used to transfer data between diffrent systems.
XHTML is used to show XML data on internet and can be compared to HTML.
ASP is a server side scripting language. It is a Microsift product so is really only for IIS servers. There are third party server "addons" for other servers like Apache called ChiliSoft and a few others. I love coding in ASP I find it very easy and other then its platform dependant issue I find it very powerfull. This is a quick and simple definition of ASP!
<EDIT>
after looking over my definition of ASP I realized that it was a little misleading...ASP stands for Active Server Pages....it is not a scripting language...the pages can have HTML/javascript...and then of course the actual script....ie: VBscript/JScript....
</EDIT>
G
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.